single customer and equipment

peterjb44

Registered User.
Local time
Today, 15:45
Joined
Mar 7, 2013
Messages
55
Hi All,

This is more than likely very easy to sort, but i can't work it out

I have done a report for customers and their equipment, but it lists every customer, what do i need to do just to get one customer and their equipment on the report??

thanks

peter
 
thanks paul, i got that working, but it goes to microsoft one note :/ instead of opening the report


Private Sub Report_Click()
DoCmd.OpenReport "CustomerAddressEquipmentR", , , "company = '" & Me.Combo10 & "'"

End Sub
 
Look at the arguments for OpenReport. One of them controls the view, and if left out the default is to go to the default printer. You want the acPreview option.
 

Users who are viewing this thread

Back
Top Bottom