options for printing report

David b

Registered User.
Local time
Today, 13:03
Joined
Mar 2, 2003
Messages
102
I have an app used by a number of single users. For printing invoices and
statements some users like to use their own headed paper while others are happy
with the header generated from the user detail table. I have 2 versions of each
report, with or without header.
I would like to store the users choice in the user detail table in the be which
will make upgrading the fe much easier.

Any thoughts on how to deal with this. I guess I need something behind the
print buttons which selects which report according to what is in the user table.

TIA
David b
 
Header/No Header

My experience with modifying tables in a deployed application was not fun. I had a situation where the English or Spanish language version of a document had to be made available at the users whim. I was lucky enough to be able to add an option group for "Language" to the reports form. It defaulted to value:0 and reset to value:0 after each report printed (meaning NO default language). The users inconvenience was a few miliseconds and I saved hours!
 
Been fiddling with this today and this behind the button that generates invoices seems to work OK

If DLookup("[invoiceheader]", "[registrationtbl]") = 1 Then
stDocName = "invallreportlthd"
Else
stDocName = "invallreport"
End If

David b
 

Users who are viewing this thread

Back
Top Bottom