halem2
Registered User.
- Local time
- Today, 02:11
- Joined
- Nov 8, 2006
- Messages
- 180
Hi folks:
long time to no post! Using Access 2003.
I have a form with 28 cmd buttons running each a different query. Each qry gives only one result (Top N of 1). I'm thinking of writting an if statement that would pass the qry result to a text box on the form regardless of which cmd button is clicked.
In other words, instead of evry tie a cmd button is clicked it opens its qry showing only on cell, I would like to populate a text box on the form with the result of the qry, regardless of which cmd button I click.
Can anyone give me an idea how to start?
thanks a lot in advance
long time to no post! Using Access 2003.
I have a form with 28 cmd buttons running each a different query. Each qry gives only one result (Top N of 1). I'm thinking of writting an if statement that would pass the qry result to a text box on the form regardless of which cmd button is clicked.
In other words, instead of evry tie a cmd button is clicked it opens its qry showing only on cell, I would like to populate a text box on the form with the result of the qry, regardless of which cmd button I click.
Can anyone give me an idea how to start?
thanks a lot in advance