click event question and pass a filter question

  • Thread starter FilemakerPro_Developer
  • Start date
F

FilemakerPro_Developer

1. How do I get a button that has a click_() event not a focus_() event? I
use the tool to get a command button but it doesn't appear to have a click
event? I don't know what the focus event is all about? I just want to print
a report. But first I have to filter the report.
Piet said to pass a filter when you open the report.
DoCMd.OpenReport "reportname" , "[IDfield] IN ('type field to be filtered')
2. Where do I put this in the properties in the report itself or in the
command button properties? Does it go in a macro or in a VBA module?
Sorry for two questions but I tried this all day yesterday.
tia,
 
F

FilemakerPro_Developer

I think I got the answer. You need to go to the report in the module and
pass the parameter 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