ItemData Property -> a small query

Suppose a Combobox shows two texts -> SNAME and RNAME and these are names in the Access table .Now there is an Primary key is attached to SNAME and RNAME .
Does anybody have any idea how to retreive the primary key?Does the Itemdata property of the Combobox- Combobox.ItemData accomplish it or the only way to get it is by querying ??

Thanks for your time and patience .
[387 byte] By [Beginner2002] at [2007-11-17 17:11:49]
# 1 Re: ItemData Property -> a small query
The primary key is just another field. The way you retrieve it is the same way you assign SNAME and RNAME into the combobox.

-Cool Bizs
coolbiz at 2007-11-10 0:22:28 >