|
-
Jul 2nd, 2007, 08:17 AM
#1
Thread Starter
Lively Member
[ACCESS 2003] New record event catching?
How to test to see if a new record was started?
When the user preses the next button or new record button on the tool bar in a access form it starts a new record. I want to test for this event and execute some code.
Any help would be appreciated.
VB.Net uber-noob since04, Yeababy! 
-
Jul 5th, 2007, 12:34 PM
#2
Re: [ACCESS 2003] New record event catching?
Moved to Office Development
-
Jul 5th, 2007, 01:22 PM
#3
Re: [ACCESS 2003] New record event catching?
You can use the Form_Dirty event but that will also detect other changes in the fields too instead of just rows being added.
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jul 9th, 2007, 02:42 PM
#4
Addicted Member
Re: [ACCESS 2003] New record event catching?
One option is to remove the users ability to scroll to a new record via access and put a command button in its place.
-
Jul 9th, 2007, 03:10 PM
#5
Re: [ACCESS 2003] New record event catching?
I just re-read tis and it sounds like you are wanting to catch two different events.
One is the navigation to another record. This event is the Form_Current and you can catch it in there to do whatever.
The other is the clicking of the New Record button but the new record is not actually committed until valid data is entered so the row can be committed.
What are you needing to do in these events? Maybe there is a better way.
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|