Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One to many relation oddity.
Message
From
01/10/2001 12:38:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00562159
Message ID:
00562642
Views:
17
>Hi Cetin,
>It is the other way around...
>
>In my description ORDERS table would be TRANS, and CUSTOMERS would be MAST.
>The relation would be from ORDERS into CUSTOMERS on CUSTOMERID (CUSTOMERS table ordered on the Primarykey).
>
>If you have a grid with orders on the form, and a textbox bound to CUSTOMERS.CUSTOMERID, as you arrow down trough ORDERS the text box will not show the right ID and the record pointer does not move (unless you click in the textbox).
>If now you add a grid on CUSTOMERS table to the form all looks right.
>
>Do you see the same thing?

Doru,
You're right. I was surprised to see :) Here are my results :

*AfterRowColChange
thisform.refresh && No change till you click on textboxes

thisform.txtCompany.refresh && This works !

* Customer boxes all in a container
thisform.cntCust.Refresh && Works

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform