Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project Hook?
Message
 
À
23/06/2011 05:17:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01515659
Message ID:
01515662
Vues:
55
>>>Hi All,
>>>
>>>I have a project which has a table (DBF) inside it. Each time I re-compile this project I would like the table to be ZAP'd and re-populated with new data from an external, source table on my machine. Is the Project Hook the way to do this? If so, how does one set this up?
>>
>>Yes you could.
>>Create a Project hook class and in its BeforeBuild event put:
>>
>>USE YourTable EXCLUSIVE
>>ZAP
>>**** Repopulate it here
>>CLOSE DATA ALL
>>
>
>
>OK, how do I create the project hook class and where do I put it, attach it, or ... ?


You could create it as normal visual class (VCX) based on ProjectHood.
To attach it to your project:
Project Menu->Project Info
In the window:
Check Project class checkbox and select your class.
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