Skip to main content

when a form or view is loading , we need to make by default the data's need to checked in the Checkbox List. What action we need to user. If anyone know the answer help me.

Rajkumar

 

With a check box list you need to pass it the values for the items you want checked by using the Transfer Data statement. Optionally you can use a SmartObject method that returns a ';' delimited list.

 

If you are using a Static list as the data source, then pass in the list items you want checked using Transfer Data. For example if the static items are "a,b,c,d,e" then use a Transfer Data to pass in "a;c" to the check box list and you will get a & c checked. 

 

If you are using a SmartObject as the data source, then you can use Transfer Data to pass in a delimited list of the Values that you want checked.

 

If you need the checked items to be set dynamically, you could execute a smartobject method that returns the values as a delimited string and output it to the check box list. For example you could write a stored procedure that does this and expose it as a SmartObject method.


Reply