var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I have a main form that consists of about 3-4 subforms
On a particular subform I need a certain field to be invisible if a combobox on that form has certain values, and to appear if it has other values.
The values it needs to be invisible for are (asbpr, asbprp, and asbpa) It needs to be visible for values (silpr, silpa).
I can't seem to get it to work.
All assistance is appreciated
use the subforms ON CURRENT event. This event gets run when records change.
Private Sub Form_Current()
select case cboField
case "a", "b" , "c"
otherField.visible = false
otherField.visible = true
You will want to use this in the cboField_AfterUpdate event as well!!