Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create an SCX programmatically w/o Forms Designer
Message
From
09/10/2006 07:55:05
 
 
To
09/10/2006 07:49:55
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01160457
Message ID:
01160495
Views:
10
Tore,

So I guess there is no way other than having to 'manually' specify all fields and their types and sizes using CREATE TABLE myVCX.VCX... ... bummer... not like CREATE CLASSLIB which automatically creates the VCX fields.

Thanks
Dennis


>Then you can simply write a command line "Create table yourform.scx ...." and specify each field accordingly. Open any form to see the structure.
>
>>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
>>
>>>>Hi Everybody,
>>>>
>>>>I would like to programmatically create a form without the forms designer showing. How?
>>>>
>>>>Actually I just need to get an empty structure of the SCX file.
>>>>The same goes for creating FRX files to get its empty structure.
>>>>
>>>>Thanks in advance.
>>>>Dennis
>>>
>>>Select * from someform.scx into table yournewform.scx where .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform