Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WVTexan

    update default to last entered value

    I GOT IT!!!!! here's what I've done... it's kinda a pain, cause I have to write the procedure for each of the fields I need this for but this works: Private Sub block_size_AfterUpdate() Me.block_size.DefaultValue = """" & Me.block_size.Value & """&quot...
  2. WVTexan

    update default to last entered value

    would this work? Public Sub AfterUpdate(fieldname As String) Set Me.fieldname.DefaultValue = Me.fieldname.Value End Sub then I would call this procedure in the after-update event of each of the fields I need this for as "AfterUpdate(length)" or "AfterUpdate(width)&quot...
  3. WVTexan

    update default to last entered value

    Well, once I got it to stop giving me errors, it still didnt do anything. But... I have the code in the on_current event of the form. here's what I have: Private Sub Form_Current() If Me.NewRecord Then Me.block_size = Me.block_size.OldValue Me.length = Me.length.OldValue...
  4. WVTexan

    update default to last entered value

    ok... just learning VB code... which is why I'm having trouble with this... I've figured out most of my other issues already. I'm trying to make a form that when a value is changed, the default for that field changes to the value that was last entered. sorry for the ignorance... but my...

Part and Inventory Search

Back
Top