N
NEWER USER
Which is the CORRECT way to write Code?
Dim strDoc as String
strDoc = "qryTEST
DoCmd.OpenQuery strDoc, acNormal, acEdit
OR
DoCmd.OpenQuery "qryTEST", acNormal, acEdit
Does one run faster than the other? Are both ways acceptable or could
problems arise down the road? If several queries are run back to back,
should I define (Dim) or use the second method above. Any thought
appreciated.
Dim strDoc as String
strDoc = "qryTEST
DoCmd.OpenQuery strDoc, acNormal, acEdit
OR
DoCmd.OpenQuery "qryTEST", acNormal, acEdit
Does one run faster than the other? Are both ways acceptable or could
problems arise down the road? If several queries are run back to back,
should I define (Dim) or use the second method above. Any thought
appreciated.