Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Horizontal or Vertical Data Storage?
Message
From
09/05/2001 00:02:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Horizontal or Vertical Data Storage?
Miscellaneous
Thread ID:
00505118
Message ID:
00505118
Views:
66
Hi Folks,

Ok, here's the situation and question;

I have spent a couple days creating a table (amidst numerous interruptions <g>) that will store data that is intended to be used in a real estate form called in the industry as a 1003 form. A 1003 form is the 8 1/2" x 14" form you fill out when you take out a loan - usually an automobile or house.

Anyway, FoxPro still has that pesky limitation of 255 fields per table and I'm just about to run into that limit.

I got to thinking about this a little and wanted to see if any of you had any experience or opinions (I know there's no shortage of those! <g>) about how best to store large numbers of fields but potentially unknown numbers of fields. PLUS being able to 'field upgrade' the table.

I see three basic options:

1) Use memo fields, MLINE() and so forth and either use position (Nth line = field 'X') or 'wrapper' markers to marke each field. Extract & insert as needed but causing memo bloat.

2) The 'traditional' method of a parent table and child tables for assets, liabilities, etc...

3) Is to store the data 90 degrees from normal. That is, create a table that would hold a common record key and then each entry can be a row. This gives me virtually unlimited numbers of fields if needed or as few as one if needed.

For example.. Calyx Software makes a product called "Point" which is a real estate loan management package. Heavily used in the industry, they have a large market share and, well, an interesting manner in which they store data. I've decoded their storage scheme and it is able to allow them to store up to some 65536 distinct fields, each 'known' by its position along with the length of the data. Very clever actually but showing its DOS roots. <g>

I am leaning towards option #3 and am pretty convinced I could fill up a multi-page form fairly quickly but wondered what you thought. All I need is a routine that reads the field name and seeks it actually.

Any thoughts?
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Next
Reply
Map
View

Click here to load this message in the networking platform