General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only