Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put a table and it's data to program code and back
Message
 
 
To
04/12/2003 10:35:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00855890
Message ID:
00856105
Views:
20
Hi Pascal,

AFAIK, the only fields with binary data are tag and tag2 in the first record. You should blank them out anyway to avoid problems printing to different printers.
USE myreport.frx
REPLACE ALL tag WITH "", tag2 WITH ""
= CURSORTOXML("Test","lcXml",1,0,0,"1")
USE
>Given : a table (in my case an report : FRX/FRT) typically with no to much data in it
>Wanted : embed this table+data in code either using XML or a series of commands starting with 'create table ...' followed by a series of 'insert into ...'
>
>In other words : I want to create the table + original data from code. The table creation itself is not a problem of course, but fill it with it's data is a bit more complicated.
>
>I've tried with XML but reports seem to contain characters that aren't treated correctly by cursortoxml and vice versa.
>
>Why I need this : I've created a component which uses a report to print some data, but I don't want the component to be dependant of the existance of the report. Thus the component should be able to create te report itself.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform