Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to a class
Message
From
30/10/1998 14:04:47
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Passing parameters to a class
Miscellaneous
Thread ID:
00152953
Message ID:
00152953
Views:
53
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
Map
View

Click here to load this message in the networking platform