Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Parent Class Method
Message
 
 
To
06/02/2007 09:48:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01192591
Message ID:
01192777
Views:
16
>Maybe my code would help explain the question:
>
>loBizPDPExclusionsObject = createobject("bizTextMacroPDPExclusionsObject")
>lcExclusions = loBizPDPExclusionsObject.GetAlias()
>loBizMacroObject.Requery()
>select (lcExclusions)
>go top
>do while !eof()
> *-- Update some records in the view
> REPLACE Field WITH Value
>enddo
>*-- This is where I want to call the parent class's Save
>loBizPDPExclusionsObject.ParentSave(.T.,.T.)

Just call it loBizPDPExclusionsObject.Save(.t.,.t.)

If you don't have anything coded in this particular class Save method, the parent class Save would be called. Otherwise you would have to use scope resolution operator.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform