var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: hiding fields
Is there a way to hide the visibility of a field if its record contains a null value and remain visible otherwise. Tx in advance.
If you know vb it is easy...
If you are going to be doing this for every control or many controls there is a way to loop thru each control on a form but now we're getting complicated.
If IsNull(me.control) Then
me.control.visible = false
me.control.visible = true
hiding fields and records that have null value
Actually i dont really know vb so i would appreciate it if u tellme exactly what to do and where to put this code. Tx in advance
Originally Posted by ottomatic
Originally Posted by Zenia
Well I don't really now what you are doing so I guess we're even
If it is a form, put the code in the oncurrent event.
If it is a report, put the code in the sections format event.
substitue the word control with the name of your control. If it is a textbox named txtName then the syntax would be me.txtName.visible = false