OK.. that did work to use it in SQL inside a query. (thanks!) The only other
question I would have then is how could I do multiple lines. My specific
tabel has 9 Yes/No boxes, and I would like only one script to run when wanted.
I tried:
UPDATE [InputH-1] SET [InputH-1].Refrigeration = False;
UPDATE [InputH-1] SET [InputH-1].Damaged Product = False;
UPDATE [InputH-1] SET [InputH-1].Weather = False;
UPDATE [InputH-1] SET [InputH-1].Display = False;
UPDATE [InputH-1] SET [InputH-1].Flooring = False;
UPDATE [InputH-1] SET [InputH-1].Debris = False;
UPDATE [InputH-1] SET [InputH-1].Obsticle = False;
UPDATE [InputH-1] SET [InputH-1].Spill = False;
UPDATE [InputH-1] SET [InputH-1].Barcode Missing/Destroyed = False;
But it says characters found at the end of the sql statment. I also tried to
delete the ";"'s and put them all on one line, but that didn't work either.
UrbanSpaceman wrote:
>Try pasting your SQL into the query design window and execute it there. If
you get no errors then the problem is probably with the VBA command you're
using (or maybe the previous line of code).
>When I put this in "UPDATE InputH-1 SET InputH-1.Refrigeration = False;" I
am
[quoted text clipped - 9 lines]
>>>"InputH-
1" Set Chooser = 0", but am getting an error. Any ideas?