indesisiv
Access - What's that?
- Local time
- Today, 06:48
- Joined
- Jun 13, 2002
- Messages
- 265
I have a strange problem (strange to me) with opening a report.
The report is based on 2 tables. (1main 1 sub)
It is opened from a form using
DoCmd.OpenReport "rptVenue", acViewPreview, , "VenueID = " & [VenueID]
This works fine if both the main table and the sub table have data but if the subtable has no data it goes horribly wrong and shows nothing.
The query that the report is based on is set to show all records in the main table regardless of wether there are any records in the subtable. Any ideas???
Steve
The report is based on 2 tables. (1main 1 sub)
It is opened from a form using
DoCmd.OpenReport "rptVenue", acViewPreview, , "VenueID = " & [VenueID]
This works fine if both the main table and the sub table have data but if the subtable has no data it goes horribly wrong and shows nothing.
The query that the report is based on is set to show all records in the main table regardless of wether there are any records in the subtable. Any ideas???
Steve