Hello,
Almost a newbie at VB and First time question in this forum!
I have a form "MAIN" with:
I would like to get the result of a query in subform with the following variables:
Thank you very much for your precious help!
Almost a newbie at VB and First time question in this forum!
I have a form "MAIN" with:
- 2 unbound textboxes ("startdate" and "endate")
- 1 optiongroup with 2 options (value "1" & "2")
- 1 unbound multiselect listbox "accountlis t" shown if optiongroup value is "1" taking its (grouped) values from transactions table.
and a Subform "SUBFORM" with:-account, transactiondate , amount fields taken from transactions table
I would like to get the result of a query in subform with the following variables:
- "transactiondat e">="startda te" AND <="Endate" values taken from textboxes
- if optiongroup = 1, limit the result to those accounts selected in "accountlis t" multiselect listbox
- if optiongroup = 2, select all accounts
Thank you very much for your precious help!
Comment