Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to achieve multiple detail bands with columns?
Message
 
To
20/07/2003 16:24:21
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00809019
Message ID:
00811957
Views:
30
Double-check the report definition and make sure that it is really printing "Date1" as you expect. Another thing to do is confirm that the cursor is correct by putting a BROWSE in the code just after you do the massive SQL SELECT. It may be that the cursor is correct but you are accidentally printing the wrong field.

Cathy


>Hi Cathy:
>
>Your idea worked. Thank you.
>
>Here is one part of the code where i am getting the wrong date.
>
>
UNION ALL SELECT '6' AS SortKey, 'Consultations' AS Group, ;
>    '' AS Extra1, '' AS Extra2, '' AS Extra3, ;
>    '' as Extra4, '' as Extra5, '' as Extra6,;
>    0 as Extra7, '' as Extra8, '' as Extra9,;
>    '' as Extra10, CReference as Extra11,;
>    Daterefer AS Date1, {} AS Date2, {} as Date3, {} as Date4,;
>    HealthNum, Specialist AS Descr FROM Consultants;
>
>The field DateRefer has the correct date stored in the Consultants Table. However, when I set DateRefer as Date 1 ( as shown above), I get a different date (7/1/1972 instead of 7/20/2003) in the TmpData cursor. Incidently 7/1/1972 happens to be the BirthDate of the patient, but 7/20/2003 is the date stored in the Consultants.DateRefer field.
>
>Thanks Cathy.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform