Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project Hook?
Message
 
To
23/06/2011 05:17:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01515659
Message ID:
01515662
Views:
54
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform