I have a combo box with the following row source:
SELECT Company.Name, Company.CompanyID FROM Company;
The bound column is the Company.CompanyID (column 2). I use a column count of 1, so the combo box ends up displaying a pulldown of Company.Name. That's what I want.
I'm trying to pass Company.Name as an OpenArgs to another form through a command button. Forgive the novice question, but I can only get the actual bound column value Company.Company.ID to pass. Is there a way to access the unbounded value, or do I need to run a query over on the form which receives the Company.Company.ID OpenArg in order to retrieve the associated Company.Name?
SELECT Company.Name, Company.CompanyID FROM Company;
The bound column is the Company.CompanyID (column 2). I use a column count of 1, so the combo box ends up displaying a pulldown of Company.Name. That's what I want.
I'm trying to pass Company.Name as an OpenArgs to another form through a command button. Forgive the novice question, but I can only get the actual bound column value Company.Company.ID to pass. Is there a way to access the unbounded value, or do I need to run a query over on the form which receives the Company.Company.ID OpenArg in order to retrieve the associated Company.Name?