Ask a Question related to ASP Database, Design and Development.
-
wk6pack #1
SQL not Updating Access Database
Hi,
I have an ASP page that updates an Access 2000 database. It doesnt seem to
update the date field of the table.
Here is the SQL: Update functionline set rowno=1, enddate=#2004/06/30#
where recid = 22
I dont get an error either. When I run the query in Access, it updates it
no problem.
What is wrong with updating dates in ASP? I can update textboxes though.
thanks,
Will
wk6pack Guest
-
updating a database.
at the moment is am trying to create a page to update a database. i select the a company in a list which the gets forwarded to the next page. On... -
CFLOOP, Updating a field in Access database
I need to update a field in an Access database. The numbe rneeds to have four characters and increment by one. Currently I can update all of the... -
updating database
I posted this in the general dis part too but maybe this is better place since it has to do with forms... here is my problem I need to overcome.... -
MS Access Database not Updating
Hi, I am working on creating dynamic home pages with Coldfusion MX on the server, Dreamweaver for developing and Microsoft Access as the backend... -
Updating a Database
Hi I am just learning asp.net and have hit a wall with the datagrid control. I have populated a datagrid and am able to edit fields and retrieve... -
Aaron Bertrand - MVP #2
Re: SQL not Updating Access Database
Try using a standard date format, e.g.
Update functionline set rowno=1, enddate=#2004-06-30# where recid = 22
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
"wk6pack" <wkwan@sd61.bc.ca> wrote in message
news:Oy$DmLcuDHA.3532@TK2MSFTNGP11.phx.gbl...to> Hi,
>
> I have an ASP page that updates an Access 2000 database. It doesnt seem> update the date field of the table.
>
> Here is the SQL: Update functionline set rowno=1, enddate=#2004/06/30#
> where recid = 22
>
> I dont get an error either. When I run the query in Access, it updates it
> no problem.
>
> What is wrong with updating dates in ASP? I can update textboxes though.
>
> thanks,
> Will
>
>
Aaron Bertrand - MVP Guest
-
wk6pack #3
Re: SQL not Updating Access Database
Hi,
I figured it out. If you do more than one execute of a SQL statement in
your asp, you need to do a committrans.
I thought it would do that automatically for you?
anyways, it works.
thanks,
Will
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:%23N1U%23NcuDHA.1744@TK2MSFTNGP12.phx.gbl...it> Try using a standard date format, e.g.
>
> Update functionline set rowno=1, enddate=#2004-06-30# where recid = 22
>
> --
> Aaron Bertrand
> SQL Server MVP
> [url]http://www.aspfaq.com/[/url]
>
>
>
>
> "wk6pack" <wkwan@sd61.bc.ca> wrote in message
> news:Oy$DmLcuDHA.3532@TK2MSFTNGP11.phx.gbl...> to> > Hi,
> >
> > I have an ASP page that updates an Access 2000 database. It doesnt seem> > update the date field of the table.
> >
> > Here is the SQL: Update functionline set rowno=1, enddate=#2004/06/30#
> > where recid = 22
> >
> > I dont get an error either. When I run the query in Access, it updatesthough.> > no problem.
> >
> > What is wrong with updating dates in ASP? I can update textboxes>> >
> > thanks,
> > Will
> >
> >
>
wk6pack Guest
-
Aaron Bertrand - MVP #4
Re: SQL not Updating Access Database
> I figured it out. If you do more than one execute of a SQL statement in
Umm, that's weird. I have many web sites committing many SQL statements in> your asp, you need to do a committrans.
single pages, and not one instance of a commtTrans command.
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
Aaron Bertrand - MVP Guest



Reply With Quote

