If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Filtering in a form
I'm opening a form and setting the filter as follows:
DoCmd.OpenForm "SalesbyProductDetailedForm", , , "[SalesbyProductDetailedForm]![ProductCode] = '" & Me! [ProductCode] & "'" However, this command gives me a space infront of the Me![ProductCode] value, thus creating the filter to fail. How do I get rid of it Thanks |
#2
|
|||
|
|||
Filtering in a form
GOT IT THANK YOU !!!
-----Original Message----- I'm opening a form and setting the filter as follows: DoCmd.OpenForm "SalesbyProductDetailedForm", , , "[SalesbyProductDetailedForm]![ProductCode] = '" & Me! [ProductCode] & "'" However, this command gives me a space infront of the Me![ProductCode] value, thus creating the filter to fail. How do I get rid of it Thanks . |
Thread Tools | |
Display Modes | |
|
|