Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get Globals in a report

Status
Not open for further replies.

datavisions

Programmer
May 30, 2001
35
CA
I have a report that produces a letter using the results of a query. I have some globals that contain the current user name that I would like to use for the signature line. Is there an easy way to do this?
 
Design as function that will pass the value to a query then call it from within your query, Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
You can also set the signature value (assume text box on the report) in the OnFormat property of the Detail section.

For example,

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)

txtSignature = CurrentUser

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top