Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse view
Message
From
16/11/2003 18:08:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/11/2003 14:55:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00850468
Message ID:
00850502
Views:
14
>Hi Mr.
>
>Thank you, but i need another thing.
>if you can tell me how can i add a view or table to dataenviroment (In Form) by code.
>and thank you again.

You can manipulate the data environment directly through code, but I find it simpler (perhaps, because of my previous knowledge of FoxPro) to use the Form.Load() event, with commands like:
* Open two tables
use Client in 0 order ClientId
use Invoice in 0 order InvoiceId

* Relationship between tables
select Invoice
set order to ClientId into Invoice
...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform