I have a command button currently set up in a form, that runs a macro when the user clicks on it. The macro simply sets the value of a field to zero and another field to "Y".
I now need to have the system determine whether to run the macro or display a message. This decision is based on the value in the "remaining" field for the current user, in the "limit" table.
If the value is >0 the macro should run.
If it is <=0, a message should be displayed telling the user that they are over their limit.
I am an experienced Access 97 user, however I am a virgin when it comes to modules and I am assuming that is what is required here. Please be gentle...
Thanks in advance for your expertise and wisdom.
I now need to have the system determine whether to run the macro or display a message. This decision is based on the value in the "remaining" field for the current user, in the "limit" table.
If the value is >0 the macro should run.
If it is <=0, a message should be displayed telling the user that they are over their limit.
I am an experienced Access 97 user, however I am a virgin when it comes to modules and I am assuming that is what is required here. Please be gentle...
Thanks in advance for your expertise and wisdom.