Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assign method works sporadically with objects
Message
From
21/08/2002 06:59:11
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00690435
Message ID:
00691834
Views:
26
There's another litte idea I have ( private/local variable conflict )

Can you post the full code of

(1) where you assign the value
(2) the timer_assign method
(3) timer event

It may be interesting to actually find out what is happening.
Gregory

>Nope. There's only 1 table open as I'm still building the class and the fields in there aren't even remotely close.
>
>The assign method simply isn't working. There's probably a bug in VFP having to do with assigning objects to other objects or somesuch.
>
>At any rate, I'm not going to waste time on it when it works just fine without the assign method. ACCESS/ASSIGN is a handy idea, but nothing that can't be replaced with other methods.
>
>Thanks for your help,
>
>Michelle
>
>
>>it's weird
>>
>>the only obvious possibility left is that you have a current alias with a field name that is equal to the parameter name of the assign method
>>
>>like tablesomething.FieldName && and alias() = tablesomething
>>
>>ppp_assign
>>lparameters FieldName &&
>>
>>What if you use m.FieldName in the assign method ??
>>
>>or change the parameter name to something like xyz12345 eg
>>
>>I'm out of ideas ...
>>
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform