Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form calls function in design mode
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01395196
Message ID:
01395588
Views:
71
You don't have to do anything special. When you open form in Form Designer all expressions in the form properties are evaluated.

>
>How do you get a function to run in design mode like this? "I run the program, open the form, the date is populated" I tried it and I can't get it to run at all in design mode...
>
>If this is possible I can see all sorts of useful applications for this sort of thing.
>
>Thanks for your sage advice,
>
>Steve
>
>>I have a form that has a property called StartingInvDate. It calls a function that returns the week ending date for a given date. This company's week ending is Sunday each week. So given any date, the function returns the date of the week end that the passed date falls within. So the actual property value is =GetWkEndDate(date()) - 7
>>
>>I run the program, open the form, the date is populated, everything is just peachy.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform