Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create table
Message
From
05/05/2005 08:28:57
 
 
To
05/05/2005 07:54:37
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011191
Message ID:
01011224
Views:
22
To create an empty cursor with the same structure as your table:
Select * from myTable into cursor myCursor readwrite where .F.
>hi,
>thanks.
>can i make it like uder via form--->inti
>Select mytable name into cursor csrMyCursor moh.
>
>you man i must repait all fields ...
>
>With thisform.grdMyGrid
>  .RecordSource = "csrMyCursor"
>  .Column1.ControlSource = "csrMyCursor.Field1"
>  .Column2.ControlSource = "csrMyCursor.Field2"
>  .Column3.ControlSource = "csrMyCursor.Field3"
>  ... etc.
>
>thanks.
>
>
>>>hi all,
>>>
>>>i need to create temperory table, at my form , and build grid via this table.
>>>after save ,drop this table, if i run my form again ,creat it again,
>>>
>>>if this form sharing ,if any user run this form he get deffirent table ,
>>>
>>>thanks.
>>
>>You can create your temp table via Select ... into cursor csrMyCursor .... ReadWrite.
>>
>>Then you can set up your grid by:
>>
>>
>>With thisform.grdMyGrid
>>  .RecordSource = "csrMyCursor"
>>  .Column1.ControlSource = "csrMyCursor.Field1"
>>  ... etc.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform