473,484 Members | 1,667 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Dataform Wizard - Add button does not work

I built a dataform using the VB.net wizard. I have two
tables, with one relation, Parent to Child, linked on one
common key. The dataform loads the data fine, and when I
click on the Add button, it appears to add a record (the
record count goes up) but unlike single table dataforms,
the form does not automatically move to the new record.
In fact, though the record count increases by one (and
you even get an error saying the primary key can't be
null if you try to add another or update), you can't move
to that record. If you press the last button in the
record navigation buttons, you see something like 222 of
223 records in the navigation label, but it does not move
to the true last record.

Nov 20 '05 #1
1 2401
Hi There,

You in the wrong newsgroup, please goto

microsoft.public.dotnet.framework.adonet

to post ado related questions ( The data bits you are trying to solve )

This will provoke a much better response to your question.

--
Regards - One Handed Man

Author : Fish .NET & Keep .NET
=========================================
This posting is provided "AS IS" with no warranties,
and confers no rights.
"msmcg" <ms***@aol.com> wrote in message
news:03****************************@phx.gbl...
I built a dataform using the VB.net wizard. I have two
tables, with one relation, Parent to Child, linked on one
common key. The dataform loads the data fine, and when I
click on the Add button, it appears to add a record (the
record count goes up) but unlike single table dataforms,
the form does not automatically move to the new record.
In fact, though the record count increases by one (and
you even get an error saying the primary key can't be
null if you try to add another or update), you can't move
to that record. If you press the last button in the
record navigation buttons, you see something like 222 of
223 records in the navigation label, but it does not move
to the true last record.

Nov 20 '05 #2

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

Similar topics

1
1352
by: Peter | last post by:
Hello, Thanks for reviewing my question. I am getting the following error when trying to create a form using the DataForm Wizard: "The following error occurred: Value cannot be null. ...
4
1025
by: Nitromuse | last post by:
After showing a DataForm how do you pause the code from continuing to run until the user clicks a button after all the data has been entered ? Thank you for your help!!
2
278
by: Larry Woods | last post by:
Has anyone noticed that the VS Dataform wizard doesn't gen correctly DISPLAYED results if you have an IDENTITY key defined for your table (normal stuff, IMHO)? If your dataset is empty the first...
6
2050
by: Douglas J. Badin | last post by:
Earlier this month, there was a posting about this without a definitive answer. If you place a Wizard inside a FormView's EditItemTemplate the bound fields contained within the View will display...
12
2573
by: raghav | last post by:
Hi I am working on ASP.NET 2.0. I am developing a website using Wizard control. Based on number of steps added, next, previous, finish buttons generate automatically. After running the...
0
984
by: Peter Newman | last post by:
im slowely getting to grips with this, but one thing im stuck on, is , the following Sub is auto generated by the Dataform Wizard. I have set the OleDbDataAdapter1 OleDbInsertCommand. what i dont...
4
1945
by: Ralph | last post by:
I am trying out the dataform wizard in visual studio using a sql server 2003 database. It seems to want to create ole db adapters and connections and commands. How do I make it use sql commands...
0
927
by: Meenu4vs | last post by:
Hi i'm using Visual Studio 2005 professional edition. I'm currently doing a customer maintanence project in C#.I need to use DataForm Wizard.I cannot find any DataForm Wizard From the Template.Tried...
8
10802
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
0
7080
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5403
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4841
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4527
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3044
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3038
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
234
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.