Update query

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Darren

    #16
    Re: Update query

    after finding help on enabling the command button, i found it..

    but i realise i can dis-/enable the button with a certain condition,
    yikes! i have a headache here...

    ya see, i have a macro that runs to validate some stuff (ya know, old
    password and username is a fit, new and confirmed password is the same
    etc.)

    My problem is that can i enable the button ONLY after the macro ran and
    made sure that all fields were correct and validated?

    i know that there is a true thingy e.g.

    Dim x as Integer
    x = True
    If IsNull(txtconfi rmPW) Then x = False
    EnableCmdUpdate = x

    this works with one condition and in code, but i'm running a macro here
    which tests for several conditions to be met..how can it be done?

    After enabling the button, then i update the new password...

    Comment

    Working...