07 vs 03 If/Then error

N

NetworkTrade

The If/then below was developed in Access03 and works on machines with
Access03 but is throwing an error on the one machine with Access2007:

If Me.TollLotSubRpt.Report!CATtype2 = "n/a" Then
Me.TollLotSubRpt.Report!CATtype2.Visible = False
End If

The error is 'object not found' and I suppose it is not finding the
subreport control. This vb is in the Report's Detail 'OnFormat' event.

Would welcome advice - plus as I do have to accommodate the 07 machine
ongoing if there is an outline of differences I would welcome a point of
reference on this. thanks
 
N

NetworkTrade

still don't have a solution - but realize this is a report question not a
form question...and so will repost over there...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top