Hi everybody,
I want to use the first record in the detail section and the last record in the detail section for each page in the page header. I'm trying to create a dictionary of options that are available in a database application we use and want to place guidewords in the page header to help the user get to the option they are looking for quickly.
I have created a counter reset field and placed it in the header with the following code:
I placed a counter for the details in the detail section:
This places a number next to each of the records for the field {table.OptionDescription} (string). Once the numbers are assigned to each record, I want to reference the first and last record and place the first 3 letters of the string in a field in the page header.
Ex:
If First record in detail section is Apple
and Last record in detail section is Awesome
then the guidewords in the page header would be
App - Awe
For the next page, the counter should reset and place the values in the header again.
I want to add these to this report because the report will be printed and distributed to users and there are too many pages to do it manually, especially as the options in the database change.
Is it possible to do this?
Thanks...
I want to use the first record in the detail section and the last record in the detail section for each page in the page header. I'm trying to create a dictionary of options that are available in a database application we use and want to place guidewords in the page header to help the user get to the option they are looking for quickly.
I have created a counter reset field and placed it in the header with the following code:
Code:
WhilePrintingRecords;
NumberVar Counter := 0;
I placed a counter for the details in the detail section:
Code:
WhilePrintingRecords;
NumberVar Counter;
Counter := Counter + 1;
This places a number next to each of the records for the field {table.OptionDescription} (string). Once the numbers are assigned to each record, I want to reference the first and last record and place the first 3 letters of the string in a field in the page header.
Ex:
If First record in detail section is Apple
and Last record in detail section is Awesome
then the guidewords in the page header would be
App - Awe
For the next page, the counter should reset and place the values in the header again.
I want to add these to this report because the report will be printed and distributed to users and there are too many pages to do it manually, especially as the options in the database change.
Is it possible to do this?
Thanks...