Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value for combobox?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Return value for combobox?
Miscellaneous
Thread ID:
00469742
Message ID:
00469742
Views:
38
Using vfp5...

"product" table
nprodnum: numeric - unique internal product number
cprodname: char - product name

"usage" table
nprodnum: numeric - used to relate to product
.
.
etc

When adding a "usage" record I have a combobox on the form to
select a "product". I have cprodname and nprodnum in the combo
with nprodnum being the bound column. This works great becuase
it stores the product number in usage however I don't like the
fact that the product number displays in the combo.

Is my only choice to do remove nprodnum from the combo, remove
the controlsource and use "replace" based on the selected cprodname?

replace usage.nprodnum with product.nprodnum in usage
Next
Reply
Map
View

Click here to load this message in the networking platform