I am trying to create a new user interface when the application is opened. A mock up is pictured below.
Subform subfrmMainPage row source is qryStudy from tblStudy. StudyID is the primary key and is the key that ties all other tables together. subfrmMainPage resides in unbound frmMainPage. Buttons cmdStudy, cmdDispense, and cmdInventory are in frmMainPage.
The row is highlighted using a script by Stephen Lebans Unfortuately Stephen is retired from Access and no longer provides support.This script may already provide this but the code is way over my head.
I want the user to be able to highlight the study of interest and then be able to click one of the Cmd Buttons based on what they want to accomplish. Typically this would open a form. I am thinking that I would like to save StudyID.Value (=30) into a Global variable that I could then use in a query to only show StudyID30 record when opening up the form.
I have searched all weekend and cannot find anything that is even remotely close. I am a beginner, but if I see an example I can usually get it to work after trial and error. Any help here would be appreciated.
You don't know what you don't know...
Subform subfrmMainPage row source is qryStudy from tblStudy. StudyID is the primary key and is the key that ties all other tables together. subfrmMainPage resides in unbound frmMainPage. Buttons cmdStudy, cmdDispense, and cmdInventory are in frmMainPage.
The row is highlighted using a script by Stephen Lebans Unfortuately Stephen is retired from Access and no longer provides support.This script may already provide this but the code is way over my head.
I want the user to be able to highlight the study of interest and then be able to click one of the Cmd Buttons based on what they want to accomplish. Typically this would open a form. I am thinking that I would like to save StudyID.Value (=30) into a Global variable that I could then use in a query to only show StudyID30 record when opening up the form.
I have searched all weekend and cannot find anything that is even remotely close. I am a beginner, but if I see an example I can usually get it to work after trial and error. Any help here would be appreciated.
You don't know what you don't know...