Search results

  1. C

    Solved Checking a value is empty/null/0 etc. Run-time error 13 Type mismatch

    Solved :rolleyes: Sorry for such a simple error. Thank you for replies :)(y) ' Check Skilled Labour Combo box If (ChkSkill = True) Then If IsNull(Me.CboSkill) Then txtmessage = "Skilled Labour has been chosen for this Job, Please Select Type of labour" & vbCrLf &...
  2. C

    Solved Checking a value is empty/null/0 etc. Run-time error 13 Type mismatch

    Thank you, Tried that and still error.
  3. C

    Solved Checking a value is empty/null/0 etc. Run-time error 13 Type mismatch

    Hello, I've had a look thru some of the forums, but nothing to match my current error if I could get some advice please. I have a check box and then a combo box. On form close I go thru some checks to ensure certain fields are filled out correctly. This particular one is given me grief...
  4. C

    Solved if field is 0 or empty then

    ok cool, thank you. working! I've done similar code on previous stuff that hasn't got your additional code. Can you please educate me in what this does? :) 'arnelgp If Len(txtmessage) Then MsgBox txtmessage, vbInformation + vbOKOnly, "Scheduling" End If
  5. C

    Solved if field is 0 or empty then

    hmm ok sort of working. when I delete the date I get my message box and the field is highlighted. all good. But then I get this: when shed mins is 0 or empty i get my message box. all good. and then ticks get done there after. not sure what the additional message box is?
  6. C

    Solved if field is 0 or empty then

    sure.. Private Sub LblScheduled_Click() Dim txtmessage As String txtmessage = "" If Len(Nz(Me.TxtCustomerPreferredDate)) = 0 Then ' Check for Delivery Date txtmessage = MsgBox("Please enter Delivery Date." & vbCrLf & txtmessage)...
  7. C

    Solved if field is 0 or empty then

    Im a knob, thanks. ok the back and forecolors working. not getting my text message when empty or 0
  8. C

    Solved if field is 0 or empty then

    G'day mate, I adjusted the code to Private Sub LblScheduled_Click() Dim txtmessage As String txtmessage = "" If Len(Nz(Me.TxtCustomerPreferredDate)) = 0 Then ' Check for Delivery Date txtmessage = MsgBox("Please enter Delivery Date." & vbCrLf & txtmessage)...
  9. C

    Solved if field is 0 or empty then

    Yes the colours etc are fine. I dont think its picking up the 0 maybe? If I comment out the TxtSchedMins of the code everything moves forward and functions. also even if i put a number in there, still no action.
  10. C

    Solved if field is 0 or empty then

    Hello, Not sure why this is not functioning correctly. I have a check box, LblScheduled_Click(), when I click it (True) then it checks 2 conditions before moving on to the next piece of code. The first one works no problem, the second one elseif, is not producing the txtmessage, not...
  11. C

    Solved DSum quantities based on a text date box.

    Cheers Mate.
  12. C

    Solved DSum quantities based on a text date box.

    That'll do :) Thanks Mate
  13. C

    Solved DSum quantities based on a text date box.

    nope. i have to click into calculated fields to get numbers
  14. C

    Solved DSum quantities based on a text date box.

    Unfortunately that's not working for me. i have to click out of the date field and alot of the time have to click in the calculated fields for the numbers to appear. The calculated fields I will be making not enabled/locked. Users wont understand or get the wrong figures when changing date.
  15. C

    Solved DSum quantities based on a text date box.

    Ok, cool. Looks like it is working :) Thank you so much. What's the best way to make this refresh? Form event? or an event on TxtDateFilter Im Finding i select the date. tab out (Not what i want to do) but have to click back in date field to make numbers work.
  16. C

    Solved DSum quantities based on a text date box.

    So I don't use a query? go straight to the Table?
  17. C

    Solved DSum quantities based on a text date box.

    in the sample database the fields are blank. in my database the field is error.
  18. C

    Solved DSum quantities based on a text date box.

    Ok, Ill Try that, thanks.
Back
Top Bottom