Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling and object on a form from a separate form.
Message
 
À
04/12/1998 12:55:23
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00164149
Message ID:
00164279
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform