Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to a class
Message
De
30/10/1998 14:04:47
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Passing parameters to a class
Divers
Thread ID:
00152953
Message ID:
00152953
Vues:
56
I have put in local parameters in INIT, have already defined property for the container to put table and field names and in REFRESH

(cParent....., cChild....., cDesc.. are added properties)

cOriginalTable = THIS.cParentTable

*selects a table
SELECT &cChildTable

*Looks for wcnumber from wcdet in wcad
SEEK &cParentTable.&cParentField1

*removes any items in the list
DO WHILE THIS.cbInfo.LISTCOUNT > 0
THIS.cbInfo.REMOVEITEM(1)
ENDDO

*clears the list box
THIS.cbInfo.Clear

lShowVal = .T.

*fills the list box
IF FOUND()

DO WHILE &cChildTable.&cChildField1 = &cParentTable.&cParentField1 ....... Continuee

My question is that how will I be able to use the properties in thsi code to work properly as I am getting error .. well the error which I am getting is Unrecgonized error for the line

SELECT &cChildTable

PLEASE help me out THANX!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform