General information
Title:
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!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only