Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can i convert a from to prg with its private DE ?
Message
De
19/12/2000 05:15:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00454478
Message ID:
00454957
Vues:
30
Will This behave like the Private DE that as designed in from visual designer.
That whenever I change the form the DE is seleted.


>>>can i convert a from to prg with its private data environment.
>>>Rajesh
>>Sure you can.
>
>Highly informative! ;-)
It was lame (appologies):
Public oForm,oDE
oForm=createobject('Form')
oDE=createobject('DE')
oDE.OpenTables
select freetable
messagebox(alias())
oDE.CloseTables

Define class DE as DataEnvironment
Add object oFREETABLE as cursor
oFREETABLE.Alias="freetable"
oFREETABLE.Cursorsource="c:\data\freetable.dbf"
Enddef
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform