Create a new character field and give it, say, a width of 20 positions, with the following formula:
[font="courier"]"Page"Trim(Str(Page()))"Line"+Trim(Str(Line())) /font[/quote]I think that'll do it for you.
If you wanted a numeric result you could use a calculated field that multiplied the Page number result by 1000 and then added the line number (assuming you need more that 99 lines but not more than 999.)
If you choose a character field - like Page2005Line156 - something along the lines of a calculated field like this should work;
[font="courier"]"Page"STR(Page())"Line"+STR(Line())[/font][/quote]The numeric solution may have some benefits if you want to check by calculating differences in page/line combinations I suppose.
Does this help at all?
edit : Dang the Kruncher fellow beat me to it again! ....
Good advice the the TRIM function of course.
Alternatively fixing the number of characters and inserting leading zeros may also have a part to play, maybe only on the line number.