Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array error? How can it happen?
Message
From
12/01/1999 17:14:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00174806
Message ID:
00175259
Views:
34
>Mark did you get my reply? If not, here it is again. Something bad happened when I pressed Send before.
>
>I got rid of the " MyArray is not an array." message. I had a listbox on the same form with its own Init. The Listbox Init had a DIMENSION SLIST(1,2) command followed by a THISFORM.Refresh command. I took out the THISFORM.Refresh command and my error went away. Weird!?!?
>
>I don't know what made me comment out the Refresh command, but I tried it as a last resort and that helped the Form Init that had my Array stuff in it and ended with a THISFORM.Refresh command too.
>
>This stuff will make you crazy. I never could figure out how to make the array a form property, but I tried.
>
>HOPE THIS HELPS.
>
>Steve Kramer
Noo I do no think I got your reply,, but Yes,, i did also had a refresh after
the SQL view command, but after putting this into an array (Thisform.array)
I figure that making it a cursor made more sense. the way you put this into
the form, is click on the form, then go to menu and select the form menu and
then choose the new property selection and create it with MyArray[1] thing.
Up to there I was Ok , now came the nice part, how to reference in the combo box
and sync with a grid object that will filter the reports I wanted to show to the
user.
But then the cursor scheme It worked for me, I do not know why the INTO ARRAY did not work. It worked the first time, the second time forget it..

Glad that yours work..

Mark Oliva
Previous
Reply
Map
View

Click here to load this message in the networking platform