Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put a table and it's data to program code and back
Message
 
 
À
04/12/2003 10:35:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00855890
Message ID:
00856105
Vues:
19
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform