Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form without selecting the alias or work area
Message
From
01/12/2003 12:01:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/12/2003 09:04:26
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00854649
Message ID:
00854722
Views:
13
>hi,
>i have many open cursors.
>all have the same fields.
>
>what i am doing
>
>select cursor1
>report form report1 noconsole preview
>
>can i issue the report form without prior selecting the cursor ?
>
>something like
>report form report1 noconsole preview from cursor3 ???

You need to omit the alias in the fields of your report, and make sure it's selected. So anywhere in your report where you have "cursor1.field" you should have "field" only. Then this will work:
select cursor1
report form report1 noconsole preview
select cursor2
report form report1 noconsole preview
select cursor3
report form report1 noconsole preview
* and so on
If there's too many of these, you can always base your report on some imaginary cursorN (i.e. have the "cursorn.field" expressions in report fields), and then
select * from cursor1 into cursorn
report form report1 noconsole preview
select * from cursor2 into cursorn
report form report1 noconsole preview
* etc etc

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform