It may be semantics but you don't do the customization in the designer.
You customize after you have put the report on a menu. If you need help doing that let me know.
Once on a menu you will be customizing the menu option. Turn on developer mode, pick the new menu option, then when screen launches pick Tools and customization.
When in customization you should be able to click on the checkbox control and then go to the property page and set its starting value. If that doesn't stick or that property isn't available you will need to do it as part of the Load event. using the wizard form event you can setup a load event. Once the load event is there you can either set the value in the data view or by getting a reference to the control and setting it directly. Under Actions on the customize sub screen is the object explorer which shows you how to access a member of the dataview.
The other approach is you have to declare a control object of the same type as the control, then get a reference to it. The long number is the GUIID which will come from the property page for the control. This is from memory so the syntax might be off. use Ctype if using VB to cast the object.
i.e.
private static EpiCheckBox myCheckBox;
myCheckBox = (EpiCheckBox)csm.GetNativeControlReference("7908565c-cc3c-43d1-b85b-9921ad88fb89");
At this point you can set the value directly
myCheckBox.Checked = true;
Jim Kinneman
Senior consultant
Encompass Solutions, Inc
You customize after you have put the report on a menu. If you need help doing that let me know.
Once on a menu you will be customizing the menu option. Turn on developer mode, pick the new menu option, then when screen launches pick Tools and customization.
When in customization you should be able to click on the checkbox control and then go to the property page and set its starting value. If that doesn't stick or that property isn't available you will need to do it as part of the Load event. using the wizard form event you can setup a load event. Once the load event is there you can either set the value in the data view or by getting a reference to the control and setting it directly. Under Actions on the customize sub screen is the object explorer which shows you how to access a member of the dataview.
The other approach is you have to declare a control object of the same type as the control, then get a reference to it. The long number is the GUIID which will come from the property page for the control. This is from memory so the syntax might be off. use Ctype if using VB to cast the object.
i.e.
private static EpiCheckBox myCheckBox;
myCheckBox = (EpiCheckBox)csm.GetNativeControlReference("7908565c-cc3c-43d1-b85b-9921ad88fb89");
At this point you can set the value directly
myCheckBox.Checked = true;
Jim Kinneman
Senior consultant
Encompass Solutions, Inc
--- In vantage@yahoogroups.com, "janettalalai" <jtalalai@...> wrote:
>
> Thanks for the tip! However; when I am in customization for the BAQ report designer; I do not see where I would change a property to false. Would this require me to enter code for the load event? And if so - where could I find any examples of this?
> Thanks you in advance!
>
> --- In vantage@yahoogroups.com, "jckinneman" <jckinneman@> wrote:
> >
> >
> >
> > One option is the BAQ report that results can be customized like any other program. After you have gotten all the options/filters and the like set via the BAQ designer, put the report on a menu. Then go into developer mode, launch the report, and customize the form, you can set the properties on controls, add new controls, hide existing, etc. For the filter you could set it to false either via the property screen or during the load event.
> >
> > Jim Kinneman
> > Senior Consultant
> > Encompass Solutions, Inc
> >
> > --- In vantage@yahoogroups.com, "janettalalai" <jtalalai@> wrote:
> > >
> > > I am in the process of creating a report using the BAQ report designer. I would like to have the user filter by Job. The default on the Filter Summary for the Job is "All Selected". I would like to have the default to "<None Selected>. Does anyone have any ideas as to where defaults are set for Filters? Is this even possible?
> > > Thank you in advance.
> > > Janet Talalai
> > >
> >
>