At 05:06 PM 8/20/2009 -0400, MB Software Solutions,     LLC wrote:
>Have I said lately how much I hate SET RELATION code for report cursors?
>   We've got a report output that is also desired to be an Excel output.
>   Simple if you're using a single cursor...just select the cursor and
>COPY TO Crap TYPE XL5.  But this legacy code uses a bunch of SET
>RELATIONs and so to export this to Excel requires me to write the code
>to create that single cursor first.  F*ck!!!
>
>Another reason I like single cursors for reporting purposes.


I'm not 100% sure, but if you put the field list in the COPY TO command, 
and prefix it with the correct table names, you may still get what you want.

-Charlie 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to