ms access - Entering a zero-length string into a form -


i have form 2 fields (a , b). b designed show after have entered data a. want able enter a. access not allow me - b not show if press enter on keyboard field (a zero-length string). can fix this? have used code below:

private sub a_afterupdate() if = "" b.visible = true else b.visible = true end if end sub 

i guess have in mind:

private sub a_afterupdate()      b.visible = not isnull(a.value)  end sub 

and cannot "type" null value. leave textbox empty.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -