I have a form, unbound, with a combo and a listbox. These are both bound to Select Queries.
When a user updates the combo with their choice, and a record in the listbox is highlighted, an additional query will pull back all records that fall into this criteria. (The query refers to both the combo and listbox for criteria).
Now, for the problem:
I also have an ADDITIONAL query, which gives a COUNT of the 1st query. Ie, total number of records.
I also have a command button that, when pressed, makes a field visible (Invisible by default) and I need it to have the value from the COUNT query. All this is for is to allow the user to view the total number of records quickly and easily, based on thier criteria of the Combo and Listbox. No matter how I try, I cannot get this to work. I have bound the textbox to the query, tried requery methods 'On Click' properties of the command button also. It just will not go where I need it to!
Can anyone help on this?
Thanks in Advance,
-Neil
When a user updates the combo with their choice, and a record in the listbox is highlighted, an additional query will pull back all records that fall into this criteria. (The query refers to both the combo and listbox for criteria).
Now, for the problem:
I also have an ADDITIONAL query, which gives a COUNT of the 1st query. Ie, total number of records.
I also have a command button that, when pressed, makes a field visible (Invisible by default) and I need it to have the value from the COUNT query. All this is for is to allow the user to view the total number of records quickly and easily, based on thier criteria of the Combo and Listbox. No matter how I try, I cannot get this to work. I have bound the textbox to the query, tried requery methods 'On Click' properties of the command button also. It just will not go where I need it to!
Can anyone help on this?
Thanks in Advance,
-Neil