Hi All,
I want to set a public (global) variable via a query in VBA for Access. I have an idea like this:
I think I'm close, but something is missing or I may be way off. Any help would be greatly appreciated.
I want to set a public (global) variable via a query in VBA for Access. I have an idea like this:
Code:
Dim SomeNum as Integer
SomeNum = "Select sometable.field from sometable where sometable.field=Form!frmform!field
I think I'm close, but something is missing or I may be way off. Any help would be greatly appreciated.