Any method or code to solve this problem appreciated.
From large tables we are dislaying filtered records on a form which shows the records corresponding to a users selection - which must be a common activity for a dbase?. We wish to take VBA code action depending on the number of records displayed to inform the user the number of records selected via another form and related information.
Speed is critical due to large numbers of potential records filtered/counted hence we are using the filter rather than a query which seems to speed things up enormously.
Process to date is: user enters selection criteria on one form, commands load of results form (one of several)which has filter set via code triggered from the form's on load event, to display the resulting records.
We have updated an text field (calculated control = record count) on the results form ( which is rather slow relative to filter!) but do not know a method to catch the event as we understand there is no AfterUpdate event for a calculated control.
Any ideas or sample form/code? Can the filtered records on the form be used as a recorset object and is so type please.
TIA
Alex
From large tables we are dislaying filtered records on a form which shows the records corresponding to a users selection - which must be a common activity for a dbase?. We wish to take VBA code action depending on the number of records displayed to inform the user the number of records selected via another form and related information.
Speed is critical due to large numbers of potential records filtered/counted hence we are using the filter rather than a query which seems to speed things up enormously.
Process to date is: user enters selection criteria on one form, commands load of results form (one of several)which has filter set via code triggered from the form's on load event, to display the resulting records.
We have updated an text field (calculated control = record count) on the results form ( which is rather slow relative to filter!) but do not know a method to catch the event as we understand there is no AfterUpdate event for a calculated control.
Any ideas or sample form/code? Can the filtered records on the form be used as a recorset object and is so type please.
TIA
Alex