Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merge four tables into 1 cursor
Message
From
27/12/2004 12:01:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Merge four tables into 1 cursor
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972379
Message ID:
00972379
Views:
48
I have four tables which are as follows:

1. Simain ( Master File )
i. Sino C(8)
ii. Invdate D(8)
iii. pcode C(10)
iv. Salesman C(19) etc etc.

2. Sisub ( Transacation File )
i. Sino C(8)
ii. icode C(10)
iii. qntymaj N(13,2)
iv. qntymin N(13,2)
v. ratemaj N(13,2)
vi. ratemin N(13,2)

3. Pcode ( Customer File ) ( Relation with simain.dbf )
i. pcode C(10)
ii. pname C(52)

4. Icode ( Item Master File ) ( Relation with sisub.dbf )
i. icode C(10)
ii. full_desc C(52)

I want a cursor like in which it includes all the above fields. Before that a user has to input the following:

1. "from date" (variable mdt1) and "Upto" (Variable mdt2)
2. Salesman Name (Variable msalesman)
3. PartyCode (variable mpcode)

Please guide me to solve this query.

Thanks - Saif
Next
Reply
Map
View

Click here to load this message in the networking platform