A
Afrosheen
Is there a better way of doing this?
Dim strSQL As String
Dim strSQL1 As String
Dim strSQL2 As String
strSQL = "UPDATE tblconfig SET tblconfig.roster = a"
strSQL1 = "UPDATE tblconfig SET tblconfig.adn = True"
strSQL2 = "UPDATE tblconfig SET tblconfig.print = 1"
CurrentDb.Execute strSQL, dbFailOnError
CurrentDb.Execute strSQL1, dbFailOnError
CurrentDb.Execute strSQL2, dbFailOnError
What I'm trying to do is to update my tblconfig table so I can use the
information else where.
I also keep getting an error: 3601 Too few parameters. Expected 2. In form
name. I just thought that it may be from the "adn" field. It is a check box.
So do I need to set that as a string?
Thanks for the help
Dim strSQL As String
Dim strSQL1 As String
Dim strSQL2 As String
strSQL = "UPDATE tblconfig SET tblconfig.roster = a"
strSQL1 = "UPDATE tblconfig SET tblconfig.adn = True"
strSQL2 = "UPDATE tblconfig SET tblconfig.print = 1"
CurrentDb.Execute strSQL, dbFailOnError
CurrentDb.Execute strSQL1, dbFailOnError
CurrentDb.Execute strSQL2, dbFailOnError
What I'm trying to do is to update my tblconfig table so I can use the
information else where.
I also keep getting an error: 3601 Too few parameters. Expected 2. In form
name. I just thought that it may be from the "adn" field. It is a check box.
So do I need to set that as a string?
Thanks for the help