cooldisk2005
Technical User
All,
I have a field called PMA_num and the data type is set to Number.
It is on a form. When the form is opened it is opened as a new record with no data in the fields. When you look at this field when the form is opened, it has the number "0" in it.
I do not want a number to appear in this field when the form is opened.
I tried code like this on the OnOpen Event of the form but it doesn't work:
If PMA_num.value = "0" Then
PMA_num.value = ""
End IF
I tried these also, as the second part of the code:
PMA_num.value = False
Me.PMA_num = False
Me.PMA_num = Null
Nothing works!!!
Can someone please help me?
Any help would be appreciated.
Thanks in advance
I have a field called PMA_num and the data type is set to Number.
It is on a form. When the form is opened it is opened as a new record with no data in the fields. When you look at this field when the form is opened, it has the number "0" in it.
I do not want a number to appear in this field when the form is opened.
I tried code like this on the OnOpen Event of the form but it doesn't work:
If PMA_num.value = "0" Then
PMA_num.value = ""
End IF
I tried these also, as the second part of the code:
PMA_num.value = False
Me.PMA_num = False
Me.PMA_num = Null
Nothing works!!!
Can someone please help me?
Any help would be appreciated.
Thanks in advance