Hi all, a simple one (I think)
I have a form that I wish to display data on when the user clicks a checkbox. Essentially, on clicking a button in a different form, this form pops up (like a dialog). If the user clicks the 'Show data ...' checkbox (which is the only other thing on the form) I want to display the result of a query.
My question is what item from the toolbox do I use to display the data if I want it to look like a datasheet/grid? Subform/subreport looks closest, but I'm not creating a master/detail form so I don't think SUBforms are conceptually correct. All I want is a grid to show three fields and usually between 5-8 records.
Also, is it best to run the query as the form loads and keep the data hidden, or run the query when the user requests the data be displayed (ie when the checkbox is selected)?
many thanks
mcalex
I have a form that I wish to display data on when the user clicks a checkbox. Essentially, on clicking a button in a different form, this form pops up (like a dialog). If the user clicks the 'Show data ...' checkbox (which is the only other thing on the form) I want to display the result of a query.
My question is what item from the toolbox do I use to display the data if I want it to look like a datasheet/grid? Subform/subreport looks closest, but I'm not creating a master/detail form so I don't think SUBforms are conceptually correct. All I want is a grid to show three fields and usually between 5-8 records.
Also, is it best to run the query as the form loads and keep the data hidden, or run the query when the user requests the data be displayed (ie when the checkbox is selected)?
many thanks
mcalex