G
Guest
I have a form with a sub form. Each "page" of the main form represents a
document. Each "line" of the sub form represents a paragraph of the
document. The main form is based on a table of documents, where the document
number is used as key field. The sub form is based on a table of paragraphs,
where a combination of the document number and the paragraph number is used
as key field.
For each "page" of the main form (each document) the sub form is indicating
the paragraphs of that particular document. I want the paragraphs to be
ordered by paragraph number. As the paragraph table is using a combination
of document number and paragraph number as key field, I would regard this to
be the most simple and logical way to order the paragraphs. If I open the
paragraph form (normally used as sub form) as a separate form, the paragraphs
are ordered correctly. If I open the main form including the sub form, the
paragraphs seem to be ordered by the time, when I created the paragraphs,
i.e. old paragraphs in the top and new paragraphs in the bottom.
Of course I always have to add new paragraphs in the bottom, but I would
expect, that when I first leave that "page" of the main form (that document)
and then enter it again, the new paragraph would be located on the logical
place in the paragraph number order. This doesn't happen. The new paragraph
is still in the bottom. Why? What can I do about it?
document. Each "line" of the sub form represents a paragraph of the
document. The main form is based on a table of documents, where the document
number is used as key field. The sub form is based on a table of paragraphs,
where a combination of the document number and the paragraph number is used
as key field.
For each "page" of the main form (each document) the sub form is indicating
the paragraphs of that particular document. I want the paragraphs to be
ordered by paragraph number. As the paragraph table is using a combination
of document number and paragraph number as key field, I would regard this to
be the most simple and logical way to order the paragraphs. If I open the
paragraph form (normally used as sub form) as a separate form, the paragraphs
are ordered correctly. If I open the main form including the sub form, the
paragraphs seem to be ordered by the time, when I created the paragraphs,
i.e. old paragraphs in the top and new paragraphs in the bottom.
Of course I always have to add new paragraphs in the bottom, but I would
expect, that when I first leave that "page" of the main form (that document)
and then enter it again, the new paragraph would be located on the logical
place in the paragraph number order. This doesn't happen. The new paragraph
is still in the bottom. Why? What can I do about it?