TextBox dcount function

  • Thread starter Thread starter Ian
  • Start date Start date
I

Ian

I'm using the following controlsource in textbox68 to return a count from a
query to a form.

=(DCount("apptID","qry_cntactappt","clientid=forms.frm_client.clientid"))

Then OnClose of the form
If Me.Text68 = 0 Then
MsgBox ("text")
.........

If also tried = Is Null, Is Null etc.... but when the value is zero in the
dcount the IfThenElse statement won't recognize it.

any suggestions?
 
nope, tried = "0" too.



ruralguy via AccessMonster.com said:
How about: If Me.Text68 = "0" Then



--
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
 
Back
Top