Art
Validation can be things like Required, Allow Zero length = No. Check each field in the target table for things like that.
Bill
--- In MS_Access_Professionals@yahoogroups.com, Art Lorenzini <dbalorenzini@...> wrote:
>
> That's what I am working on. The warning is telling me 1 record was not appended due to validation violation but my issue is neither of the tables have any validation code in them. Is there anyway to see what the query is actually thowing?
>
>
>
>
> With warm regards,
>
> Arthur Lorenzini| SQL Server/Access Developer l alorenzin@...
> Office: 605-338-0947| Mobile: 605-857-9137 | Fax: 605-338-0947
> Â
> 1316 E. 7th Street
> Sioux Falls, SDÂ 57103 Â
> SQL Server Development
> Database Adminstration Services
> Microsoft Access Development Â
> Grant Writing TA Services
> IT Assessment Services
> Software Application Training
>
>
>
>
>
>
>
> From: Bill Mosca <wrmosca@...>
> To: MS_Access_Professionals@yahoogroups.com
> Sent: Tuesday, September 13, 2011 2:08 PM
> Subject: [MS_AccessPros] Re: Append record not working
>
> Â
> Art
>
> Open the form and make sure there is an ApplicationID and the rest of the fields.
>
> Then open a new query and paste the SQL statement in the SQL view. Run the query. Be sure the database options for warnings are turned on.
>
> When you run the query you should get warnings about a new record is about to be appended and then one telling you thta 1 record was appended. Either that or it will say the record could not be appended due to violations.
>
> That should give you some idea of why it is failing.
>
> Regards,
> Bill Mosca, Founder - MS_Access_Professionals
> http://www.thatlldoit.com
> Microsoft Office Access MVP
> https://mvp.support.microsoft.com/profile/Bill.Mosca
>
> --- In MS_Access_Professionals@yahoogroups.com, "Art" <dbalorenzini@> wrote:
> >
> > I have the following append query that keep reporting a violation error:
> >
> > INSERT INTO tblApplicationHousehold ( FirstName, MiddleName, LastName, MaidenName, ApplicationID )
> > SELECT tblApplicant.FirstName, tblApplicant.MiddleName, tblApplicant.LastName, tblApplicant.MaidenName, tblApplication.ApplicationID
> > FROM tblApplicant INNER JOIN tblApplication ON tblApplicant.ApplicantID = tblApplication.ApplicantID
> > WHERE (((tblApplication.ApplicationID)=[Forms]![Application Details]![ApplicationID]));
> >
> > It's not inserting the record into the tblApplicatioHousehold record. I first I though it was a PK issue but the PK for the table is HouseholdID so I am a bit confused.
> >
> > Thanks,
> > Art
> > Sioux Falls, SD
> >
>
>
>
>
> [Non-text portions of this message have been removed]
>
Selasa, 13 September 2011
[MS_AccessPros] Re: Append record not working
__._,_.___
MARKETPLACE
.
__,_._,___
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar