I currently have a form that shows in continuous mode. So the screen shows multiple records. Each record has a button. When activated the button will run a query and open a second form (Pop-up/Modal). Right now when a button is clicked it first checks to see if the query to open the second form will return any data. If not, it shows a message stating nothing is available. If there is data to be returned it will show the second form with the data. The query to open the second form is based on a field on the main form to search for the correct data. This works well but......
My users want the button for each record to be disabled if there is no data to be shown...and they want it when the main form is opened. They don't want to click in a record to see if the button is available. Since I have multiple records showing how can I enable/disable each records button when the main form opens? Remembering the button for each record opens the second form that shows different data (if available) based a field in each record on the main form.
Thanks,
My users want the button for each record to be disabled if there is no data to be shown...and they want it when the main form is opened. They don't want to click in a record to see if the button is available. Since I have multiple records showing how can I enable/disable each records button when the main form opens? Remembering the button for each record opens the second form that shows different data (if available) based a field in each record on the main form.
Thanks,