Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass Paramter to Form Class? VFP6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Pass Paramter to Form Class? VFP6
Divers
Thread ID:
00170515
Message ID:
00170515
Vues:
44
I am trying to build a general "Search Form" class which will respond to any form that calls it. It will take paramters for a SQL-Select "from", "where", "order by", and # of grid columns to show.

In a calling form, I added these properties:
rSearchTable
rSearchField
rSearchSort
rSearchGridCols

The click event's method has some spaghetti and then:
OrdProc.rSearchTable = 'OrdProc_DonorInf1'
OrdProc.rSearchField = 'cName_Last'
OrdProc.rSearchSort = 'cDonor_No'
OrdProc.rSearchGridCols = 4
lfSearchForm.Show(1)

The called form class also has the above properties.
How do I get the properties from the calling form into the properties of the called form class?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform