Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index is violated problem VFP6
Message
From
21/10/1999 15:02:18
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00279536
Message ID:
00279556
Views:
13
Good catch, Mike.

If the controlsource is numeric and doesn't change the BoundTo property, he's getting index values instead of the actual ID number.

>Usually the control source for the combobox should be the same as recordsource of the grid. The combo box rowsource should be the lookup table (client table). Additionally, you have to be careful if your id is a numeric because by default the combo box works different with numeric values. In this case, you may need to set the BOUNDTO property to .T.
>
>HTH
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform