Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create table
Message
De
05/05/2005 08:28:57
 
 
À
05/05/2005 07:54:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01011191
Message ID:
01011224
Vues:
23
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.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform