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,
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,