Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Change Event....

Discussion in 'Information Technology' started by Bob Barnes, Jul 28, 2006.

Tags:
  1. Bob Barnes

    Bob Barnes
    Expand Collapse
    Guest

    I am writing a DB to work w/ Card Swipe equipment.

    I have an unbound textbox to check the Length of the entry. When it's 5
    (the code from the card swipe), it runs code to populate Unbound textboxes
    on an Unbound Form.

    But, it's acting erratic...it doesn't always use the "most recent entry".

    Any ideas?

    TIA - Bob
     
  2. Loading...


  3. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    Try the AfterUpdate event of the text box.
    The Change event is probably too early.
    It fires with every keystroke.
    You want the event that fires after all keystrokes are present.

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "Bob Barnes" <BobBarnes@discussions.microsoft.com> wrote in message
    news:D5E94F44-50D7-409A-B5D3-2B45C557CE33@microsoft.com...
    >I am writing a DB to work w/ Card Swipe equipment.
    >
    > I have an unbound textbox to check the Length of the entry. When it's 5
    > (the code from the card swipe), it runs code to populate Unbound textboxes
    > on an Unbound Form.
    >
    > But, it's acting erratic...it doesn't always use the "most recent entry".
    >
    > Any ideas?
    >
    > TIA - Bob
     
  4. Bob Barnes

    Bob Barnes
    Expand Collapse
    Guest

    Allen - THANK you.

    "Allen Browne" wrote:

    > Try the AfterUpdate event of the text box.
    > The Change event is probably too early.
    > It fires with every keystroke.
    > You want the event that fires after all keystrokes are present.
    >
    > --
    > Allen Browne - Microsoft MVP. Perth, Western Australia.
    > Tips for Access users - http://allenbrowne.com/tips.html
    > Reply to group, rather than allenbrowne at mvps dot org.
    >
    > "Bob Barnes" <BobBarnes@discussions.microsoft.com> wrote in message
    > news:D5E94F44-50D7-409A-B5D3-2B45C557CE33@microsoft.com...
    > >I am writing a DB to work w/ Card Swipe equipment.
    > >
    > > I have an unbound textbox to check the Length of the entry. When it's 5
    > > (the code from the card swipe), it runs code to populate Unbound textboxes
    > > on an Unbound Form.
    > >
    > > But, it's acting erratic...it doesn't always use the "most recent entry".
    > >
    > > Any ideas?
    > >
    > > TIA - Bob

    >
    >
    >
     

Share This Page