Recent content by yhchen

  1. yhchen

    Validation Rule Help: Option Group VS Text box

    Thank you SOS. You're my hero!
  2. yhchen

    Validation Rule Help: Option Group VS Text box

    Thank you SOS I followed your instruction... and yes the new record can now be added but it does not set ID field to be required when Xource=1... would you be able to upload the file you successfully amended?
  3. yhchen

    Validation Rule Help: Option Group VS Text box

    thank you, sos very much appreciated!!
  4. yhchen

    Validation Rule Help: Option Group VS Text box

    the file is too big to upload to here.... I uploaded to my skydrive... http://cid-5edd539792b3921e.skydrive.live.com/self.aspx/Public/db1.mdb
  5. yhchen

    Validation Rule Help: Option Group VS Text box

    When the code is removed and the new record is added, in the table vew it did return a 1 when the code is added back... it pops up the same message again (would not appear the error message at all)
  6. yhchen

    Validation Rule Help: Option Group VS Text box

    2nd try!! Thank you SOS
  7. yhchen

    Validation Rule Help: Option Group VS Text box

    Hello herewith the screen capture... I am sure this will clear things out a little bit... Thank you SOS...
  8. yhchen

    Validation Rule Help: Option Group VS Text box

    Thank you SOS..I have done so but still not working... :( It seems that this code is stopping the "SandN" bottom from working. If I removed the IF code, then the bottom works fine. Once I put the IF code back, it pops up with the same warning message.... the Error"" line was an .... errrr...
  9. yhchen

    Validation Rule Help: Option Group VS Text box

    Hello.... I encountered some problem.... The form has the following code: Private Sub Form_BeforeUpdate() If Me.Source = 1 And Len(Me.StudentID & "") = Null Then Cancel = True MsgBox "You need to fill in the Student ID", vbExclamation, "Entry" Error "" End If End Sub Private Sub...
  10. yhchen

    Validation Rule Help: Option Group VS Text box

    Thank you SOS (and missinglinq) You guys are the best!!
  11. yhchen

    Validation Rule Help: Option Group VS Text box

    I have a form that I use to track the imcoming phone calls I would like to set the field of a textbox "Student ID" as a required field when the value of option group is 1 (when the value of option group is 2 then "Student ID" is not a required field) I am struggling how to write the...
  12. yhchen

    why does this code work in one form but not the others?

    Thank you very much...you made my day!! I really appreciate your help!
  13. yhchen

    why does this code work in one form but not the others?

    worked!!!! Thanks a lot!!
  14. yhchen

    why does this code work in one form but not the others?

    WhenUpdated is the name of the field... any idea?? :(
  15. yhchen

    why does this code work in one form but not the others?

    only just realised it didn't work for both forms!!! It should stamp the date if it is not a new record....:(
Back
Top Bottom