Results 1 to 7 of 7

Thread: name of event? - Access 2002

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    12

    name of event? - Access 2002

    what is the name of the event that occurs when you cycle through the rows of a database whose table is bound to the form.

    i tried OnDataChange and OnDataSetChange but those aren't it.

    i need to trigger a function to run each time a new row of data displays if the user cycles through the table.

    -mondego

  2. #2
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: name of event? - Access 2002

    Mondego:

    I bet you can find it here:
    http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    12

    Re: name of event? - Access 2002

    i can't actually. i've been all through those pages.

    the best i found was "on change" but here's what i found out about that:

    "Setting the value of a control by using a macro or Visual Basic doesn't trigger this event for the control. You must type the data directly into the control, or set the control's Text property."

    i'm not changing it "by hand" i'm cycling through the table so it changes by itself. that's why it's not triggering any event when the combobox changes it's value.
    Last edited by Mondego; Feb 20th, 2007 at 08:35 PM.

  4. #4
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: name of event? - Access 2002

    Mondego:

    Well, I guess I don't really understand what you are trying to do since I am not a real VBA guru. Maybe soneone who is will come along with a solution for you.

    I do have this site bookmarked in my VBA folder, but I am not sure it will help.

    http://www.functionx.com/vbaccess/index.htm

    Good Luck

  5. #5
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: name of event? - Access 2002

    These are the only events that you can use

    http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

    take your pick...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    Re: name of event? - Access 2002

    Should be Form_Current.

    Access 2007 help file....

    http://office.microsoft.com/client/h....DEV&lcid=1033

    Last edited by RobDog888; Feb 21st, 2007 at 12:55 AM.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    12

    Re: name of event? - Access 2002

    excellent!

    thanks for the reference koolsid

    robdog888, that is exactly what i need.

    thanks for your help everyone,

    -mondego

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width