Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling and object on a form from a separate form.
Message
 
To
04/12/1998 12:55:23
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00164149
Message ID:
00164279
Views:
22
>Is it possible to call an object on a form from a separate form? Note: There is not a formset.
>
>Thanks
>
>Jim

Jim --

Adding to what the others have said, this concept is not limited to forms -- I frequently do this with reports.

For example, you may have a situation where your application enables the user to select a report from a menu, but before the report is actually fired, a "report specifications" form appears. After the user enters the report specs (from/to dates, output device, data selection criteria, etc.), the report is finally generated based upon the user's entries in the form.

In this case, you can create properties in the report specifications form, and then show the values in these properties in your report. For example, create a property called fdEndDate in your form, then bind this property to a textbox control on the form. In the report, you can show the date in your report heading by referring to the form properties in one of two ways -- either use MyFormName.fdEndDate or ThisForm.fdEndDate.

Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform