Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Foxyclasses edit grid
Message
From
13/08/2003 04:04:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00819412
Message ID:
00819708
Views:
24
>Hi Cetin,
>
>Using your edit grid, how do I save away the header field number (parent), into my body file (child), when I press CTRL+ARROW DOWN to add a record into the grid?

You mean 'how do I write parent PK to child' ? If so EditGrid has cKeyField and cKeyFieldExpression properties. Fill them accordingly and it'd be autofilled. ie: Customer is used as parent and orders as child in EditGrid :

cKeyFieldExpression : customer.cust_id
cKeyField : Cust_id

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