Ask a Question related to ASP Database, Design and Development.
-
Targa #1
Update multiple records using checkboxes
Searched the NG but no luck.
Im displaying records from an Access2000 db in a table. The table is within
a form and each record(row) has a checkbox next to it.
I need to create an update statement that will update each record that has
its checkbox checked.
How can I do this?
Thanks!
Targa Guest
-
update multiple records
I'm trying to to update multiple records with a drop down. My update statment updates all selected records with all selected choices. I get for... -
Deleting Multiple Records using Checkboxes
Hi I wonder if anyone could help, I am trying to create a multiple delete page using checkbox's and it just will not work, I keep getting the... -
update multiple records in multiple tables from one form
hello I have been trying to run multiple update queries based on the data entered by user. Brief background: I am fetching data from various... -
ANN: Update Multiple Records in ASP
I've put together an article and demo on how to batch update records in a recordset: ... -
Deleting Multiple Records selected by checkboxes
I have tried in vain after using 2 books - Prof ASP 3.0 and the compplete Reference for DWMX and about 8 different tutorial sites on the web that... -
Targa #2
Re: Update multiple records using checkboxes
Think Im on the right track but now getting error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
Here's my code:
strCallback= request.QueryString("Callback")
response.write strCallback
sql = "UPDATE Schedule SET Callback = 'Yes' WHERE ID IN (strCallback)"
Any ideas?
Thanks!
within>
> Im displaying records from an Access2000 db in a table. The table is> a form and each record(row) has a checkbox next to it.
>
> I need to create an update statement that will update each record that has
> its checkbox checked.
>
> How can I do this?
>
> Thanks!
>
>
>
Targa Guest
-
Bob Lehmann #3
Re: Update multiple records using checkboxes
sql = "UPDATE Schedule SET Callback = 'Yes' WHERE ID IN (" & strCallback &
")"
Bob Lehmann
"Targa" <targa1SPAMSUCKS@alltel.net> wrote in message
news:#QrhbrqPEHA.3708@TK2MSFTNGP10.phx.gbl...has> Think Im on the right track but now getting error:
> Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
>
> [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
>
> Here's my code:
> strCallback= request.QueryString("Callback")
> response.write strCallback
> sql = "UPDATE Schedule SET Callback = 'Yes' WHERE ID IN (strCallback)"
>
> Any ideas?
>
> Thanks!
>
>
>> within> >
> > Im displaying records from an Access2000 db in a table. The table is> > a form and each record(row) has a checkbox next to it.
> >
> > I need to create an update statement that will update each record that>> > its checkbox checked.
> >
> > How can I do this?
> >
> > Thanks!
> >
> >
> >
>
Bob Lehmann Guest
-
Targa #4
Re: Update multiple records using checkboxes
Excellent - Thanks Bob!
"Bob Lehmann" <none> wrote in message
news:O8fpJwqPEHA.2996@TK2MSFTNGP12.phx.gbl...1.> sql = "UPDATE Schedule SET Callback = 'Yes' WHERE ID IN (" & strCallback &
> ")"
>
> Bob Lehmann
>
> "Targa" <targa1SPAMSUCKS@alltel.net> wrote in message
> news:#QrhbrqPEHA.3708@TK2MSFTNGP10.phx.gbl...> > Think Im on the right track but now getting error:
> > Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
> >
> > [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected> has> >
> > Here's my code:
> > strCallback= request.QueryString("Callback")
> > response.write strCallback
> > sql = "UPDATE Schedule SET Callback = 'Yes' WHERE ID IN (strCallback)"
> >
> > Any ideas?
> >
> > Thanks!
> >
> >
> >> > within> > >
> > > Im displaying records from an Access2000 db in a table. The table is> > > a form and each record(row) has a checkbox next to it.
> > >
> > > I need to create an update statement that will update each record that>> >> > > its checkbox checked.
> > >
> > > How can I do this?
> > >
> > > Thanks!
> > >
> > >
> > >
> >
>
Targa Guest



Reply With Quote

