Cadstillo
Mon Jul 10 16:09:02 CDT 2006
Thanks I will try it out!!
--
Cadstillo
"Dave Patrick" wrote:
> Dim cnn, dbPath, strSQL
> dbPath = "c:\data\access\test.mdb"
> Set cnn = CreateObject("ADODB.Connection")
> Set Rs1 = CreateObject("ADODB.Recordset")
> cnn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath
> strSQL = "UPDATE Table1 SET Field1 = 'aaa', Field2 = 123, Field3 = 456 " _
> & "WHERE (((ChkBox)=0)); "
>
> cnn.Execute strSQL
>
> cnn.close
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
>
http://www.microsoft.com/protect
>
> "Cadstillo" wrote:
> | How do you update all of the records in an Access (.mdb) table where the
> | checkboxes are not checked?
> | --
> | Cadstillo
> |
>
>
>