Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build an Array from Remote Table
Message
From
06/08/2009 13:21:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/08/2009 13:11:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01416532
Message ID:
01416538
Views:
51
>I am accessing a remote data table that is set up kinda strange
>
>It has five rows representing manufacturing days. Each row has a year column and twelve month columns.
>
>In each month column there is a string representing each day of the corresponding month like JAN 2009 would be
>HNNN-----NN-----NN-----NNNNNNNNm
>
>Feb 2009
>N-----NN-----NN-----NN-----Nmmmm
>
>I need an array that has four elements
>Year
>Month
>Day of Month
>Value(H,N,-,m)

Instead of an array, wouldn't a cursor be easier to manipulate?

In any case, you will have to write the loop to go through the data, and create the array rows, or cursor rows.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform