Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a SQL Select cursor as data source??
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00095834
Message ID:
00095850
Views:
23
<snip>

>>Thanks a lot, I figured it had to be possible. I went back to my report to see if I could find why it wasn't working, turned out that one of the field names somehow got had the reports name infront of it as a qualafier. Once I took that out it works like a charm.
>>
>>Thanks again.
>
>Preston, with a little planning you can pick up data fields, even captions, from a SQL-Select.
>
>1. Run the SELECT to a cursor
>2. Open a new report
>3. Pick 'Quick Report'
>4. Select your choices of layout, titles, alias, etc.
>5. Now modify the report by dragging the pre-set fields whereever you want.
>
>If you design your SQL so each field name is the same as the caption you want, half your work is done. You can also set the default font to your preferred font before starting 'Quick Report' which saves re-setting fonts & positions for every field.
>
>HTH


Barbara,

Thanks for the advice I'll try that route next time; actually I was trying to take a route similiar to yours in my repoort creation, I first designed the report based on a View which contained the same fields as the Select statement I was going to use, in this way at design time I actually had access to all of the captions I had entered in the tables design. I was running into problems when I tried to break the report away from the view so it would read it's data from the SQL Select.

-Preston
Preston A. Larimer                          palarimer@usa.net
Olive LLP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform