Randomblink
The Irreverent Reverend
- Local time
- Today, 07:27
- Joined
- Jul 23, 2001
- Messages
- 279
I have two tables.
table 1:
-> tblEquipment
Fields:
-> EqID - Autonumber Field
-> EqName - Name of Equipment
table 2:
-> tblServices
Fields:
-> SrID - Autonumber Field
-> SrName - Name of Service
Now then, to my problem...
How would I create ONE control...
Listbox or Combobox
That would have TWO columns.
In column Number 1, I want it to hold the ID field of the Equipment OR Service being listed...
In column Number 2, I want to show Equipment AND Services...
Then as a User selects an Item, it checks the ID field, uses that ID field to <insert many different actions here>.
How can I do this? I have several controls I will need to do this to if it can be done, so it has to be something I can genericize (make generic) and re-use on all the needed controls.
I can ALMOST work my mind around how to make this happen...then I get dizzy and pass out...<chuckle>
Help if you can! Thanks in advance.
table 1:
-> tblEquipment
Fields:
-> EqID - Autonumber Field
-> EqName - Name of Equipment
table 2:
-> tblServices
Fields:
-> SrID - Autonumber Field
-> SrName - Name of Service
Now then, to my problem...
How would I create ONE control...
Listbox or Combobox
That would have TWO columns.
In column Number 1, I want it to hold the ID field of the Equipment OR Service being listed...
In column Number 2, I want to show Equipment AND Services...
Then as a User selects an Item, it checks the ID field, uses that ID field to <insert many different actions here>.
How can I do this? I have several controls I will need to do this to if it can be done, so it has to be something I can genericize (make generic) and re-use on all the needed controls.
I can ALMOST work my mind around how to make this happen...then I get dizzy and pass out...<chuckle>
Help if you can! Thanks in advance.