Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two table in one grid
Message
 
To
22/01/2005 03:08:57
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979546
Message ID:
00979746
Views:
11
>Hi all
>I have two table :
>
>Table1 ( acode n(2,0) , aname c(10))
>Table2 ( acode n(2,0) , bname c(10))
>
>i want to have a grid with three column : acode,aname,bname
>i dont want to create and use from CURSOR. i want to use from table1,table2 fields directly.
>can i do this? if yes, how?
>Thanks

You can set a relation between the tables to do this, but I prefer using a view or cursor. Why don't you want to use a cursor?

IAC, what is the relationship between these two tables? Is it always a 1-to-1 relationship? Is it a 1-to-many with Table1 being the parent? The answer determines the correct way to setup your relation.
Previous
Reply
Map
View

Click here to load this message in the networking platform