Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two columns from 2 rows
Message
From
08/11/2002 11:26:01
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00720313
Message ID:
00720332
Views:
8
You shold create a cursor with 4 coluns, fo instance :

your cursor : cursor1
fields i,c,d
i.IMAGE 1
c.product code 1
d.description 1
i.IMAGE 2
c.product code 2
d.description 2
i.IMAGE 3
c.product code 3
d.description 3
other cursor: cursor2
fields i1,i2,c1,c2,d1,d2
i1.IMAGE 1          i2.IMAGE 2
c1.product code 1   c2.product code 2
d1.description 1    d2.description 2
i1.IMAGE 3          i2.IMAGE 4
c1.product code 3   c2.product code 4
d1.description 3    2.description 4
code:
use cursor1
GO TOP
DO WHILE !EOF('cursor1')
   append blanck in cursor2

   replace i1 with i, c1 with c, d1 with d in cursor2
   skip
   replace i2 with i, c2 with c, d2 with d in cursor2
   skip

ENDDO
>
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Previous
Reply
Map
View

Click here to load this message in the networking platform