Environment: SQL Server 7, MS Access XP Data Access Pages
Background: I have a main DAP page with a command button on it that brings up a popup form.
The popup form is bound to child records, i.e. records that are on the Many-side of the relationship with the main.
Request: My user would like me to display the count of child records in parenthesis, in a read-only text place like the button caption. So the button caption should look like "Child Records (3)"
Problem: I'm somewhat stumped as to how to make an ad-hoc query in the middle of a DAP, that queries a recordset is nearly irrelevant to the DAP it is on.
Background: I have a main DAP page with a command button on it that brings up a popup form.
The popup form is bound to child records, i.e. records that are on the Many-side of the relationship with the main.
Request: My user would like me to display the count of child records in parenthesis, in a read-only text place like the button caption. So the button caption should look like "Child Records (3)"
Problem: I'm somewhat stumped as to how to make an ad-hoc query in the middle of a DAP, that queries a recordset is nearly irrelevant to the DAP it is on.