473,378 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Trapping AddNew event

Hi

Is there a way to tarp the AddNew event on the BindingNavigator to do some
checks before allowing BindingNavigator to add a new record?

Thanks

Regards
Nov 21 '05 #1
3 1784
Hi,

If you click on the add button of the bindingnavigator in the
designer it will open up the forms code window with the add buttons click
event displayed.

Ken
-------------------
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
Hi

Is there a way to tarp the AddNew event on the BindingNavigator to do some
checks before allowing BindingNavigator to add a new record?

Thanks

Regards

Nov 21 '05 #2
Thanks. How can I then tell BindingNavigator to carry on with the AddNew?

Thanks

Regards

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:eT**************@TK2MSFTNGP10.phx.gbl...
Hi,

If you click on the add button of the bindingnavigator in the
designer it will open up the forms code window with the add buttons click
event displayed.

Ken
-------------------
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
Hi

Is there a way to tarp the AddNew event on the BindingNavigator to do
some checks before allowing BindingNavigator to add a new record?

Thanks

Regards


Nov 21 '05 #3
Hi,

http://www.windowsformsdatagridhelp....e-a95385888e22

Ken
---------------------
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:ew**************@TK2MSFTNGP11.phx.gbl...
Thanks. How can I then tell BindingNavigator to carry on with the AddNew?

Thanks

Regards

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:eT**************@TK2MSFTNGP10.phx.gbl...
Hi,

If you click on the add button of the bindingnavigator in the
designer it will open up the forms code window with the add buttons click
event displayed.

Ken
-------------------
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
Hi

Is there a way to tarp the AddNew event on the BindingNavigator to do
some checks before allowing BindingNavigator to add a new record?

Thanks

Regards



Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Wugi | last post by:
I'm trying to find an equivalent of key-event trapping which is easy in QBasic. Several of my programs build up a geometric figure with two parameter line families, eg with two nested for..next...
3
by: Paul | last post by:
I have an Access 2000 database with a form that is giving me some major headaches. When you open the form, it displays all records and allows editing, but has AllowAdditions set to False so that...
3
by: Nathan Bloomfield | last post by:
Hi there, I am having difficulty with a piece of code which would work wonders for my application if only the error trapping worked properly. Basically, it works as follows: - adds records...
3
by: windandwaves | last post by:
Hi Gurus Does anyone know how I set the error trapping to option 2 in visual basic. I know that you can go to tools, options and then choose on unhandled errors only, but is there a VB command...
13
by: Thelma Lubkin | last post by:
I use code extensively; I probably overuse it. But I've been using error trapping very sparingly, and now I've been trapped by that. A form that works for me on the system I'm using, apparently...
1
by: Chirag Malvi | last post by:
hello all, I am developing the web application using ASP.net and VS.2003 IDE. here is the situation which i want to implement. 1) User is browsing some webform. I want to trap this event....
6
by: Aaron Smith | last post by:
I have a form, oddly enough the same one with the expression column that is giving me a headache, and on this form I have a dataset that has a couple of tables in it that are related. If I do a...
1
by: jan.loucka | last post by:
I'm developing WinForms application in .NET 2.0 that talks to web service. The automatically generated proxy (reference class) has got methods for both synchronous and asynchronous invocations of...
0
nev
by: nev | last post by:
Have any of you encountered this? And how did you correct it? bs.addnew() automatically moves the position to the new record. But mine doesn't. I have 3 bindingsources in my program, all...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.