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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Labels are Not disappearing or appearing 1

Status
Not open for further replies.

rokerij

Technical User
Feb 12, 2003
199
I have a report in Office XP that does part of the job for me but seems to hang on other parts. The problem is I have three text fields with 3 separate labels:

lbl53 Text Box (PerformanceTarget1)
lbl54 Text Box (PerformanceTarget2)
lbl55 Text Box (PerformanceTarget3)

If IsNull(Me.PerformanceTarget1) Then
Me.Label53.Visible = False
Else
Me.Label53.Visible = True
End If

The code will set the lbl53 visible property to false, but will not allow it to become true again when the text box is no longer a null value, i.e. has writing in it. I have set the text field in the original table to have a default value of 'Null'. I have tried to place the code in the Report_Open portion, with no results, I then moved it to the Report_OnActivate portion, with the limited result of having the label disappear but not appear when necessary. Any ideas?

Second issue, same report

My header for certain records in the report will drop down on the layout screen when I go to the preview screen. The first one looks great, header placed where needed, hit the 'Next' arrow to see the next "report" and the header falls 2 inches lower on the page. ? perplexing! Thanks in advance to all that take the time to read my post!



S.C. Albertin
Database Administrator/Newbie Tech
United Way

Help me to find my way, so that I may help others find theirs...
 
Got the labels to disappear!
Created A sub with the coding to make them appear/disappear.
Went to Detail_Format called the sub, and it worked! Not sure why, but VB can strange like that. Still having issues with the header dropping.

S.C. Albertin
Database Administrator/Newbie Tech
United Way

Help me to find my way, so that I may help others find theirs...
 
Cheers rokerij. You have just solved a problem that was causing me to tear my hair out. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top