Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build an Array from Remote Table
Message
De
06/08/2009 13:21:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/08/2009 13:11:33
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01416532
Message ID:
01416538
Vues:
50
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform