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
|
|||
|
|||
docmd
hey all,
i'm using docmd.openreport and i have a question about 1 of the parms: FilterName how do i use this parameter? i'd like to be able to open my report based on whether a field is true or false. thanks, rodchar |
#2
|
|||
|
|||
docmd
The FilterName is not really useful. Use the WhereCondition instead.
Example: if you want to open a report limited to only the records where the Inactive field is false: DoCmd.Openreport "Report1", acViewPreview, , "Inactive = False" -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "rodchar" wrote in message ... i'm using docmd.openreport and i have a question about 1 of the parms: FilterName how do i use this parameter? i'd like to be able to open my report based on whether a field is true or false. thanks, rodchar |
#3
|
|||
|
|||
docmd
thank you.
"Allen Browne" wrote: The FilterName is not really useful. Use the WhereCondition instead. Example: if you want to open a report limited to only the records where the Inactive field is false: DoCmd.Openreport "Report1", acViewPreview, , "Inactive = False" -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "rodchar" wrote in message ... i'm using docmd.openreport and i have a question about 1 of the parms: FilterName how do i use this parameter? i'd like to be able to open my report based on whether a field is true or false. thanks, rodchar |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DoCmd Questions (Preferences) | [email protected] | General Discussion | 2 | September 4th, 2005 08:28 PM |
Docmd: GoToControl | renold1958 | General Discussion | 4 | July 29th, 2005 06:59 AM |
the vb docmd printout has page control does sendobject? | Bo Duke | General Discussion | 2 | May 3rd, 2005 05:19 PM |
Need docmd code to display multiple pages of report | Bartman | Setting Up & Running Reports | 3 | January 7th, 2005 04:49 PM |
Docmd output to sample | Stephen | Setting Up & Running Reports | 3 | May 24th, 2004 07:31 AM |