Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help normalizing data
Message
From
20/02/1998 10:46:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00079889
Message ID:
00080110
Views:
28
>Dan,
>I do use related tables Parent (Header) to Child (Page)
>I'm "on the same page" seeking a cleaner process than
>Parent contains totalpages and each child a page number.
>Generating a page number for a new child is simple (C.page=P.totpage+1)
>and P.totpage increase, but if a PAGE (child record) is deleted, well...
>Page numbers cannot be reassigned. totpage .GT. actual-page-count
>
I spent some time programming in C. And there was a way to refer within an array of objects to previous and next objects. Wouldn't it be nice, if you could do something like this in a DBF. Each record would be the previous record value + 1. Maybe I'm stretching this a little far, but all you have to do is resolve prev and next pointers and the rest would resolve itself.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform