Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dodefault and method override
Message
From
31/10/2003 16:01:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Dodefault and method override
Miscellaneous
Thread ID:
00845219
Message ID:
00845219
Views:
43
I have some code in the init method of a derived form class that takes a parameters. After taking the paramters I set some properties and then call dodefault(). No rocket science here, but the overwritten method is never called. Instead I get a no parameter statement found error as the parent method is run. I've tried putting a SET STEP ON in the code, but it's never even called.

This never happened before.

Code is below:
LPARAMETERS tcEmployee_queue_schedules_pk, ;
	tcTrans_pk, tcAccount_num, tcName, tdDOS 
	
SET STEP ON

This.cFindUniqueid = tcEmployee_queue_schedules_pk
This.cTrans_pk = tcTrans_pk
This.cAccount_num = tcAccount_num && Hospital account number
This.cName = tcName && Patient name
This.ddos = tdDOS && Date of service

DODEFAULT()
Next
Reply
Map
View

Click here to load this message in the networking platform