Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating the object (Error 1736)
Message
From
28/02/2003 06:16:26
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
 
 
To
27/02/2003 02:32:25
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00757980
Message ID:
00759302
Views:
22
Walter.

As I understand it now, the principle in this case is;
Bind the controlsource to the key of the parent tabel in the child table
(orders.cust_id) and bind the rowsource to a field in the parent table (customers.name)

Although I don't use a grid this is basically what i've done.
This way my combobox reflects the name of the customer currently connected to the particular order.

I've experimented with your suggestion with regard to boundTo = .t. and boundcollumn = 2, but without the desired results.

As my case is a very simple one, customer table has only two fields: cust_id and name, and just three records. I might not need to set the other two properties.

When I change a customer the orders.cust_id value is replaced with the correct value, this might be coincidental.

Anyway Thanks.

Victor
Previous
Reply
Map
View

Click here to load this message in the networking platform