I am trying to make an icon visible dependant on a field on another form being completed. I am able to get this to work with the following code
If Not IsNull(Book_Title) Then
Forms![frm_Author]![subfrm_AuthorProject]![Command22].Visible = True
BUT
this makes the icon visible for all projects the author has (which are shown in the (continuous) subform) .
The link field is projectID so how to I specify that in the above code
Essentially I want to say
If ProjectID=ProjectID then
If Not IsNull(Book_Title) Then
Forms![frm_Author]![subfrm_AuthorProject]![Command22].Visible = True
but of course this doesnt work