Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ThisForm.AddProperty('aSql[1]')
Message
From
26/10/2018 11:11:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
ThisForm.AddProperty('aSql[1]')
Miscellaneous
Thread ID:
01662829
Message ID:
01662829
Views:
66
I had something happen today I wasn't expecting. I'm refactoring .PRG code onto a form, and went to migrate an laSql[] array to thisForm.aSql[], but when I go to add the property using thisForm.addproperty("aSql[1]"), I get the error "Incorrect property name." Changing it to "azSql[1]" or nearly any other name works.

Why is aSql[] not allowed? I am able to add a generic "aSql" member (without being an array).
thisForm.AddProperty("aSql[1]")
* Returns Incorrect property name

thisForm.AddProperty("azSql[1]")
* Works

thisForm.AddProperty("aSql")
* Works
Next
Reply
Map
View

Click here to load this message in the networking platform