AndrewWhitelaw
New member
- Local time
- Today, 05:07
- Joined
- May 28, 2013
- Messages
- 3
I am developing a database to handle gift aid for a charity.
I have a donor selection form that comprises combos boxes allowing the selection of postcode, name, house number.
As the user selects data in a combo a subform show as a list of potential donors from the database, as the user selects more combos the datasheet updates presenting fewer potential donors.
As the user selects from the combos I have some VBA that runs and SQL command that clears the temporary table and dumps the selected data there and requeries the subform. The subform datasource is the temp table.
The idea was to allow the user to select a row from the datasheet but I am having trouble finding out how to retrieve the selected data in VBA.
Any ideas?
I have a donor selection form that comprises combos boxes allowing the selection of postcode, name, house number.
As the user selects data in a combo a subform show as a list of potential donors from the database, as the user selects more combos the datasheet updates presenting fewer potential donors.
As the user selects from the combos I have some VBA that runs and SQL command that clears the temporary table and dumps the selected data there and requeries the subform. The subform datasource is the temp table.
The idea was to allow the user to select a row from the datasheet but I am having trouble finding out how to retrieve the selected data in VBA.
Any ideas?