But when you have XML you have all fields needed. You can just use XMLTOCURSOR() and copy that cursor with appropriate extention.
>Borislav,
>
>I was hoping for a shortcut to what I am doing. I am attempting to convert VCXs, FRXs, SCXs into XML and back. From XML back to the original state, I would like just to do some form of CREATE FORM or CREATE REPORT similar to CREATE CLASSLIB which creates the table structure. Then, I can just do an APPEND FROM.
>
>Hope I made myself clear.
>
>Thanks
>Dennis
>
>
>>>Hi Tore,
>>>
>>>Thanks for your reply. But, I was hoping if there was some way to create them without the need to open an existing SCX or FRX.
>>>
>>>Like when you:
>>>
CREATE CLASSLIB myClassLib
>>>The above line creates a VCX/VCT file right away.
>>>
>>>Dennis
>>>
>>
>>Why?
>>
CREATE FORM MyForm NOWAIT
>>But this also invokes Form designer.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.