MarcelMegens
Registered User.
- Local time
- Today, 05:31
- Joined
- Jun 8, 2004
- Messages
- 16
I would like to use the sendobject function but in a way that I only get lines where a certain criteria is met.
E.g.
Dim SearchInvNr
SearchInvNr = "12345"
and then
Docmd.sendoject("query A") where [query A].[Invoice number] = SearchInvNr
note: [Invoice number] is the field name in the query
(and I don't want to put 12345 in the query itself)
Any suggestions?
E.g.
Dim SearchInvNr
SearchInvNr = "12345"
and then
Docmd.sendoject("query A") where [query A].[Invoice number] = SearchInvNr
note: [Invoice number] is the field name in the query
(and I don't want to put 12345 in the query itself)
Any suggestions?