wallymeister
Registered User.
- Local time
- Today, 01:14
- Joined
- May 10, 2011
- Messages
- 30
Hello Guru's
Wally here again for advice and suggestions.
I have a report that the user may from time to time need to add a detail section line to the report. Just to keep from having to print 2 pages so adding a line is desired. They will come to me and I will go in and change the TxtBox heights etc to allow one more line to print on page. Then in a while they'll come back and want me to put it back the way it was. So, I am trying to give them a menu option to add a line or two, changing fontSizes, put back the way it was by clicking options on a form. All the selected values written to a table for all controls and properties that apply. However, I put the code that gets these values from table via DLookup in the On_format of detail section and tried On_Print of Detail section and got dialog that says report action was cancelled. Figured I can't change these properties during print. So I tried the On_Load event of report. Doesn't cancel now but my textBoxes now not visible but I didn't change visible property.
I'm at a loss here but will keep searching for answer. If anyone can point me in the direction I need to be taking or tell me what is happening I am mucho appreciative.
Hope this makes some sense. I've done report property changes before such as fontsize, visible, forecolor etc. Never had to change control heights before.
Thanks
Wally
Wally here again for advice and suggestions.
I have a report that the user may from time to time need to add a detail section line to the report. Just to keep from having to print 2 pages so adding a line is desired. They will come to me and I will go in and change the TxtBox heights etc to allow one more line to print on page. Then in a while they'll come back and want me to put it back the way it was. So, I am trying to give them a menu option to add a line or two, changing fontSizes, put back the way it was by clicking options on a form. All the selected values written to a table for all controls and properties that apply. However, I put the code that gets these values from table via DLookup in the On_format of detail section and tried On_Print of Detail section and got dialog that says report action was cancelled. Figured I can't change these properties during print. So I tried the On_Load event of report. Doesn't cancel now but my textBoxes now not visible but I didn't change visible property.
I'm at a loss here but will keep searching for answer. If anyone can point me in the direction I need to be taking or tell me what is happening I am mucho appreciative.
Hope this makes some sense. I've done report property changes before such as fontsize, visible, forecolor etc. Never had to change control heights before.
Thanks
Wally