B
_Bigred
Hello Guys,
I have a report and I'm trying to do the following:
If a record has a null value for "Worker" then I want to show a label
called "Vacant". I've tried to put the following in various placed (using
the code button) but can't seem to figure it out.
The report is based on a join query from 2 tables, one table "MasterData"
contains the people and "Jobs" contains the various information about the
jobs (payrange, hiredate etc...)
TIA,
_Bigred
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me!Worker) Then
Me!Worker.Visible = False
Me!Vacant.Visible = True
Else
Me!Worker.Visible = True
Me!Vacant.Visible = False
End If
End Sub
I have a report and I'm trying to do the following:
If a record has a null value for "Worker" then I want to show a label
called "Vacant". I've tried to put the following in various placed (using
the code button) but can't seem to figure it out.
The report is based on a join query from 2 tables, one table "MasterData"
contains the people and "Jobs" contains the various information about the
jobs (payrange, hiredate etc...)
TIA,
_Bigred
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me!Worker) Then
Me!Worker.Visible = False
Me!Vacant.Visible = True
Else
Me!Worker.Visible = True
Me!Vacant.Visible = False
End If
End Sub