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
From
04/12/2003 10:48:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/12/2003 10:35:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00855890
Message ID:
00855903
Views:
21
>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.

The program which VFP uses for version control can convert reports, forms and classes to a text-only format and back.

The name and location of said program is contained in the variable _scctext.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform