Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a 'grid' table
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102892
Message ID:
00102902
Views:
22
>>I have no idea what you are trying to do, but you can get the field name with the FIELD() command.
>>
>>HTH
>>jeff
>
>
>Ok, that's a start. But how do I go about creating the table in the first place when I don't know what the field names are until run-time?
>
>Maybe I'd better explain better what I'm trying to do. It's similar to a multiplication table like you see in grade schools. Running down the left side is 0-9, running across the top is 0-9. If you want to know what 9*9 is, you find 9 on the left, 9 on the top, and where they intersect is 81.
>
>This is the same idea. I have a set of zones. To find the price for a trip, I need to look up what the cost is to go from the first zone to the second zone. In my example above, going from zone 9 to zone 9 costs 81 dollars.
>
>The only other way I could think of is to list every combinations of zones and their prices, but that seems rather tedious.
>
>Did I explain it better?
>
>Thanks,

Ok I'm a little slow but I think I'm getting there. Where are you getting this information from? Another dbf file? User input are what?

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform