Information générale
Titre:
Passing parameters to a class
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement