Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local class
Message
 
To
09/09/2003 18:51:54
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00827656
Message ID:
00827820
Views:
18
Your welcome

>That worked. Thanks
>
>>James,
>>there are two ways to handle this situation
>>
>>#UNDEFINE loTmp
>>LOCAL ...
>>#DEFINE loTmp
>>
>>OR
>>
>>#DEFINE loTmp
>>#IF
>>LOCAL ...
>>#ENDIF
>>
>>
>>Tracy
>>
>>>Hi Tracy
>>>
>>>So are you saying that having more than one local in a prg in not possible. See code.
>>>
>>>
>>>DEFINE CLASS aMngResellers AS abizmanager OF bizmanager.prg
>>>
>>>PROCEDURE RefreshResellers(lcPK)
>>>
>>>	LOCAL loTmp as abizmanager OF bizmanager.prg
>>>	#define loTmp
>>>
>>>	WITH this
>>>		lotmp.getreseller(lcPk)
>>>		
>>>	ENDWITH
>>>ENDPROC
>>>
>>>PROCEDURE RefreshCustomers()
>>>
>>>	LOCAL loTmp as abizmanager OF bizmanager.prg
>>>	#define loTmp
>>>
>>>ENDPROC
>>>
>>>PROCEDURE RefreshProjects()
>>>
>>>
>>>ENDPROC
>>>
>>>PROCEDURE RefreshWorkorders()
>>>
>>>
>>>ENDPROC
>>>
>>>ENDDEFINE
>>>
>>>
>>>>>Hi All
>>>>>
>>>>>I thought I used to be able to do this in version 7.0 but now I get a syntax error when I save. What am I doing wrong? Thanks
>>>>>
>>>>>
>>>>>#define loTmp
>>>>>LOCAL loTmp as abizmanager OF bizmanager.prg
>>>>>
>>>>
>>>>
>>>>reverse the order
Tracy
Previous
Reply
Map
View

Click here to load this message in the networking platform