pungentSapling
NeedHotSauce?
- Local time
- Today, 04:53
- Joined
- Apr 4, 2002
- Messages
- 116
I am having a hard time figuring out when to use [] and whent to use () and when you don't need any brackets.
I am trying to open the following queries when a cmd button is clicked. Do I have to Dim the queries as strings and call them from their variable name?
DoCmd.OpenQuery qryMissedEntries1, [acViewNormal]
gets me undefined variable error
DoCmd.OpenQuery ([qryMissedEntries2])
these seem to pass compilation but does not opena query
DoCmd.OpenQuery (qryMissedEntriesC)
none of the above formats seem to work.
thanks p
I am trying to open the following queries when a cmd button is clicked. Do I have to Dim the queries as strings and call them from their variable name?
DoCmd.OpenQuery qryMissedEntries1, [acViewNormal]
gets me undefined variable error
DoCmd.OpenQuery ([qryMissedEntries2])
these seem to pass compilation but does not opena query
DoCmd.OpenQuery (qryMissedEntriesC)
none of the above formats seem to work.
thanks p