ProgramError
Programmer
I have the follow SQL statement taken from a query created using the query design view in Access.
UPDATE mytable SET mytable.Printed = Yes
WHERE ((mytable.Marked) = True)
Unfortunantly the help in access is a little sparce. My intention is to alter the 'where' part of the string to lookup and update selected records (this part I can do), but I need to run this query using VBA. do I need to create a querydef? do I need to create a recordset. How do I run this sql statement in VBA![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Totally Clueless!
Program Error
Why is it, I still think in terms of spectrum BASIC!
UPDATE mytable SET mytable.Printed = Yes
WHERE ((mytable.Marked) = True)
Unfortunantly the help in access is a little sparce. My intention is to alter the 'where' part of the string to lookup and update selected records (this part I can do), but I need to run this query using VBA. do I need to create a querydef? do I need to create a recordset. How do I run this sql statement in VBA
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Totally Clueless!
Program Error
Why is it, I still think in terms of spectrum BASIC!