Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public object with array...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513702
Message ID:
00513893
Views:
15
>Hi folks - anybody now what's going on here?
>
>I have created a Public object which I call oRegister. I use it to record user logging in/logging off etc etc.
>
>In the define I created an array aUsers[5] and several functions. One adds the a user to the array, another removes the user, yet another just checks the array to see if a user is in there (ascan).
>
>When I run the app from the project manager with the watch window checking the array I can see the users appearing (I have to refresh the window) and dissappearing as I log them in and out.
>
>The problem is this - the ascan bit to check the array works great - but only when I have the watch window open!!! Yes you heard it right - if I close the watch window or run the compiled exe I can log in the same user time and again. I don't undestand what's happening.
>
>I hope I have explained this sufficiently to give you the idea... please ask if you need any more info...
>
>Puzzled...

Check set exact settings. Better set it on and use Exact Name match to check.
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