Hi,
I'm very new to the use of FoxPro Databases and commands. I have got a Product table in Fox Pro which is displayed in the following column structure:
SysKey |Product |Product Code |Description | Selling Price |
AAV3 Frame 20/100/95 Green Frames £10.00
AAV4 Beam 30/50B/95 Yellow Beams £10.50
etc.etc.
The Syskey is auto generated by the System. The rest of the information has to come from somewhere.
Now, I have got some of this information (thousands of records) in an excel spreadsheet and would like to extract and add them to the products table in the Fox Pro database.
The problem is, this information is in a completely different structure. How can I unpack it to have it displayed according to the above column structure?
This information is in the following structure for Frames:
Depth 100m 200m 500m 600m
Height
20m £10 £20 £30 £40
50m £15 £30 £50 £70
40m £20 £50 £60 £90
So, the Productcode is worked out by looking at Height/Depth/95. Looking at the Height and Depth gives the
selling price of the product. The description field is an addition.
Is there some form of code that I can use to break down this information into the above required structure.
Please, help me....somebody...if you can.
Thank you, Francis
I'm very new to the use of FoxPro Databases and commands. I have got a Product table in Fox Pro which is displayed in the following column structure:
SysKey |Product |Product Code |Description | Selling Price |
AAV3 Frame 20/100/95 Green Frames £10.00
AAV4 Beam 30/50B/95 Yellow Beams £10.50
etc.etc.
The Syskey is auto generated by the System. The rest of the information has to come from somewhere.
Now, I have got some of this information (thousands of records) in an excel spreadsheet and would like to extract and add them to the products table in the Fox Pro database.
The problem is, this information is in a completely different structure. How can I unpack it to have it displayed according to the above column structure?
This information is in the following structure for Frames:
Depth 100m 200m 500m 600m
Height
20m £10 £20 £30 £40
50m £15 £30 £50 £70
40m £20 £50 £60 £90
So, the Productcode is worked out by looking at Height/Depth/95. Looking at the Height and Depth gives the
selling price of the product. The description field is an addition.
Is there some form of code that I can use to break down this information into the above required structure.
Please, help me....somebody...if you can.
Thank you, Francis