Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1942
Message
From
04/07/2013 08:41:57
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01577796
Message ID:
01577804
Views:
93
Hi Peter.

>Objects cannot be assigned to arrays (Error 1942)

You get that error when you assign the entire array to an object. For example:

dimension MyArray[1]
MyArray[1] = createobject('Form') && works
MyArray = createobject('Form') && error 1942

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform