473,386 Members | 1,860 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,386 software developers and data experts.

Posting Error

I'm receiving an error whenever the user moves from the main form to a
subform or from the subform to the main form. The problem is, I can't
locate the point within my code where the error is occurring or an
event that occurs before it where I might check for problems; AND it
doesn't even tell me which table the error pertains to.

"The changes you requested were not successful because they would
create duplicate values in ..."

You get the idea. Additional relevant details include the fact that
the subform contains a new record while the master does not. (Leading
me to think that the error is occurring within the subform table.)

Any ideas on how to handle this.
Nov 13 '05 #1
1 1041
On 25 Oct 2004 10:42:45 -0700, we*****@verizon.net (Weaver) wrote:

The user is not just "moving". The user is SAVING a record. Or at
least attempting to, and a unique index on some (combination of)
field(s) is preventing it. Probably for good reason, so rather than
removing the index, try to understand what's happening and why.

One tip: most subforms can run as a form by themselves. That's one way
to isolate the problem.

Another one is to realize when a record is saved, such as when a
parent form is dirty and the user moves into the subform -> an
implicit SAVE occurs.

-Tom.
I'm receiving an error whenever the user moves from the main form to a
subform or from the subform to the main form. The problem is, I can't
locate the point within my code where the error is occurring or an
event that occurs before it where I might check for problems; AND it
doesn't even tell me which table the error pertains to.

"The changes you requested were not successful because they would
create duplicate values in ..."

You get the idea. Additional relevant details include the fact that
the subform contains a new record while the master does not. (Leading
me to think that the error is occurring within the subform table.)

Any ideas on how to handle this.


Nov 13 '05 #2

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

Similar topics

2
by: mark.richards | last post by:
At first I thought this error had to do with a timeout problem, but now I am almost certain it has direct bearing on the size of the data that I am posting. I am using a simple form: <?php...
2
by: Rabbit | last post by:
Dear All, I've been tried various configuration and did install SP1 on Windows 2003 Server. The problem now that I have is an aspx page located on the web site for taking the file post by...
0
by: Rabbit | last post by:
Dear all, My application contains 2 parts(Server and Client), the server side is having a ASP.net page as listener for client side to post file, the main coding to receive posting file as...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
29
by: Gernot Frisch | last post by:
Hi, I have no clue. - I want to align the red, green, blue boxes in one line - red,green,blue must be 45px high - red (center) must be as wide as possible - yellow must start exactly below...
7
by: AmitKu | last post by:
I am trying to do a URL post using HttpWebRequest, but it fails because I am hosting on Network Solutions, and their servers are all medium trust. Apparently HttpWebRequest doesn't work on medium...
4
by: Peter Afonin | last post by:
Hello, I have a form with several buttons, and I need to post this data to several different applications. In ASP.NET 1.1 it was quite easy - I just used HTML controls (text or hidden), then...
0
iam_clint
by: iam_clint | last post by:
Javascript vs JSP I would like to note that JSP and JS are 2 different languages and are not used for the same thing. You would find better help for jsp posting under the Java forum. Posting...
3
by: ollebollebagare | last post by:
For the last few days some of my web site users have been having problems posting asp.net forms. This problem arises everytime they try to post a form in asp.net, but never when the page is plain...
6
by: obj63 | last post by:
Hello All, I am posting to a page with out a submit button using the function sendToHost - http://dodds.net/~cardinal/sendtohost.txt I send the following ...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.