lancelotnz
Programmer
Hello All,
I have a recordset that populates command buttons on a form.
This recordset looks up a table that has the following fields: [SwitchboardID],[ItemNumber],[ItemText],[Command],[Argument] and [Status]
When the recordset is looping through populating the command buttons I want to run a function that decides whether or not to enable the command button.
The name of function I want to call is the text in the [Status] field.
I assumed it would be as simple as: Call rst![Status] or something similar.
Please help, would be appreciated.
I have a recordset that populates command buttons on a form.
This recordset looks up a table that has the following fields: [SwitchboardID],[ItemNumber],[ItemText],[Command],[Argument] and [Status]
When the recordset is looping through populating the command buttons I want to run a function that decides whether or not to enable the command button.
The name of function I want to call is the text in the [Status] field.
I assumed it would be as simple as: Call rst![Status] or something similar.
Please help, would be appreciated.