Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with report
Message
From
05/02/2004 09:28:24
 
 
To
05/02/2004 05:41:05
Alex Shevchenko
Cb "westinkombank"
Lutsk, Ukraine
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00874349
Message ID:
00874425
Views:
18
Example tables:
Parent: one field fname
Child: two fields: pname (fname in parent) and cname (child's name)
relational index is pname

Parent    Child
fname     pname   cname

Mike      Mike    Haley
          Mike    Brittany
Tim       Tim     Shannon

USE parent in 0
sele 0
USE child order tag pname && pname is same as fname in parent table
sele parent
set RELATION TO fname INTO child && child tag is pname
set SKIP TO child  && step through all child records for each parent
*In this example Create data group expression on parent.fname
*click on Report on menu and then select data grouping
*run report && it should show all children in detail band now
>I usinf VFP70,
>I create one-to many report using report wizard, after runing this report
>I have a lot ************ string in grid (parent table).
>But if I create report without report wizard - everithyng Ok.
>but then I have new problem.
>My report print only first record from child table.
>To DATA ENVIRONMENT added both table and set relation by index.
>What I do wrong?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform