I am very new to VBA and having a few problems - I have successful routines using loops on tables to compare and process information. I now need to carry out similar routines on queries and would also like to use SQL to reduce search times. I find the help system a foreign language so all assistance welcomed. My basics on tables is
Set db = CurrentDb
Set rst = db.OpenRecordset("tblproperties")
rst.MoveFirst
thisun = 0
thatun = 0
Do While rst.EOF = False
etc etc
How would I get to the same point for a query using SQL?
Set db = CurrentDb
Set rst = db.OpenRecordset("tblproperties")
rst.MoveFirst
thisun = 0
thatun = 0
Do While rst.EOF = False
etc etc
How would I get to the same point for a query using SQL?