By default comboBoxes do not reload every time the page is loaded.
If you want to make it reload you can add this code:
comboBox1_onBeforeDisplayEvent(CSpDisplayEvent event) {
((CSpComboBox)event.getSource()).doAutoFill();
}
if you want the comboBox to display the old value if you do any load(false):
comboBox1_onBeforeDisplayEvent(CSpDisplayEvent event) {
CSpComboBox cmb = (CSpComboBox)event.getSource();
CSpValue oldVal = cmb.getValue();
cmb.doAutoFill();
cmb.setValue(oldVal)
}
Aby
TeamND
"Pauline Chui" <[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>I have a sysadmin page which the SysAdmin has privileges to add in new values
>into the data objects. In my case, I have a table called Application and data
>object doApplication. Syadmin can view, add, delete, update Application Values.
>
>I have another page which the users will see a Combo Box of Application Values from
>doApplication. However, it doesn't get updated after Sysadmin add/delete/modify
>the values. After I recompile to project again, new values would show up in the
>Combo Box. It looks like I am missing some simple concepts here.
>
>Any help would be greatly appreciated.
>
>-Pauline
>woul
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]