My brain is a little overloaded right now. If someone can just get me going in the right direction....
I have a continuous form which shows equipment available for rent (unique id, etc). My plan is to put a command button at the end of the row to allow a user to place this piece of equipment "On Hold".
I think the command button would run a macro (macro group?) which:
1. 'Grabs' the current record
2. Uses an insert query to insert that record's unique id into tblHold
3. Minimizes the frmEquipAvail
4. Opens the frmHold for the user to identify for which customer the equipment is placed on hold and enter a release date for the hold
5. Requeries the frmEquipAvail
6. Closes the frmHold and maximizes frmEquipAvail.
My questions:
1. How can I 'grab' the current record? Bookmark it? How do I say that in the macro?
2. Do I need to create a separate "insert query" that takes the 'grabbed' record and inserts it into tblHold and reun that through this macro group?
2. When creating a macro group, how do you stop each macro from 'firing' all at the same time? May sound dumb, I know, but whenever I've tried to do one they all just ran at the same time.
I have no doubt this could be accomplished with vba, but I am vba challenged and suffer through using macros. Any and all suggestions, as always are welcome. Thanks. Learn what you can and share what you know.
I have a continuous form which shows equipment available for rent (unique id, etc). My plan is to put a command button at the end of the row to allow a user to place this piece of equipment "On Hold".
I think the command button would run a macro (macro group?) which:
1. 'Grabs' the current record
2. Uses an insert query to insert that record's unique id into tblHold
3. Minimizes the frmEquipAvail
4. Opens the frmHold for the user to identify for which customer the equipment is placed on hold and enter a release date for the hold
5. Requeries the frmEquipAvail
6. Closes the frmHold and maximizes frmEquipAvail.
My questions:
1. How can I 'grab' the current record? Bookmark it? How do I say that in the macro?
2. Do I need to create a separate "insert query" that takes the 'grabbed' record and inserts it into tblHold and reun that through this macro group?
2. When creating a macro group, how do you stop each macro from 'firing' all at the same time? May sound dumb, I know, but whenever I've tried to do one they all just ran at the same time.
I have no doubt this could be accomplished with vba, but I am vba challenged and suffer through using macros. Any and all suggestions, as always are welcome. Thanks. Learn what you can and share what you know.