Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection to Backend
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01343807
Message ID:
01344414
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
>>>I have a question regarding CA.
>>>
>>>Right now, since I am a newbie, I am creating the CA as I need on the DE of the form, but... What if I need exactly the same CA in other form?
>>>
>>>do I have to creat it everytime I need it? is there any way to store it on the DATABASE DBC and then Add it to the DE?
>>
>>No,
>>You can store them as an usual class in VCX, or (as William suggested, as PRG based classes).
>>Then you could use them where you need.
>>You could create also DataEnvironment class and use them there.
>
>Ok. I just created my first CA class now I wonder: is there any way to display the dataon the CA like a browse?
>I now i can create a form and add code to a command button to browse the cursor, but i was thinking on something more simple like in the command window? can we?

Sure,
oCA = NEWOBJECT([YourCAClass],[ClassLib])
oCa.CursorFill()
BROWSE NORMAL
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform