Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array Properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01032423
Message ID:
01032424
Views:
13
File Menu...New.... Select Form option... then click New File button. Then go to the Form menu... New Property... Type "aOrders(1,1)" (without quotes) in the Name textbox...then click Add button and then Close Button. Open your property sheet for the form and scroll to the botton of the ALL page and you should see an array property for your form named aOrders[1,1] with a default value of .F.

>I have forgotten something that I usd to do all the time. Uh oh, old age? Maybe, but it used to be a common thing I did.
>
>I used to name FORM properties with array names. I cannot figure out how to do this any more, meaning create a property name that is also an array name.
>
>I have a form Property called ThisForm.aOrders, but I must be doing something wrong. I get an error that states that it is not an array when I try to create it using a SQL statement.
>
>I keep trying to create the array property as aOrders, but it is a no-go. I tried also aOrders[1], and nothing works.
>
>
>* Load Event:
>CLOSE ALL
>SET EXCLUSIVE OFF
>SET CPDIALOG OFF
>
>USE C:\WINDOWS\FOXPRO\SHIP\LOADING SHARED IN 0 &&<-- OLD code here.
>USE E:\IRL\CUSTOMER SHARED ORDER CUSTNO IN 0
>
>* Create Orders # Array.
>SELECT DISTINCT Order ;
>	FROM LOADING ;
>	ORDER BY Order ;
>	INTO ARRAY ThisForm.aOrders
>
>SELECT LOADING
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform