PC Review


Reply
Thread Tools Rate Thread

Catching an Error from Queries?

 
 
=?Utf-8?B?U2NvdHQgQnVya2U=?=
Guest
Posts: n/a
 
      7th Apr 2006
Here is some code:
DoCmd.SetWarnings False
.......
Call PPS_import([FILENM], 452, "Import UMC")
DoCmd.OpenQuery "fixPPS"
DoCmd.OpenQuery "fixPPS2"
DoCmd.OpenQuery "AppendPPSToImportTable"

The Problem:
PPS has a tendency to change the record lenght and they tend to put garbage
in the imput file. Record lenght should be 450 bytes, The garbage is
actually the command used to generate the file???? The garbage tends to be in
records 48 & 49.
Trust me, the PPS IT person does NOT know how to fix these problems.

The Ideal:
Take note, If PPS made a mistake then query "FIXPPS" will be the only query
that will give an error. IS is possible to lookup the "FIXPPS" query
results and see if it had an error? IF it did then I wont to open up a
special window that displays the "IMPORT TABLE". That way clearance
department can see if it just two bad records or the whole file that is bad.
Maybe give them a chance to delete the bad records...... Maybe.

I really don't wont the "error window" to open unless there is an error.

What do you think?
Scott Burke
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
catching error url chanko Microsoft ASP .NET 0 27th Mar 2006 09:02 PM
Error catching code for creating and/or deleting queries that may already exist Pete Straman Straman via AccessMonster.com Microsoft Access Queries 2 22nd Feb 2005 04:54 PM
Catching An Error Charles A. Lackman Microsoft VB .NET 3 13th Apr 2004 10:48 PM
RE: Catching(trying - no luck) the last error (exception) in the a error page??? =?Utf-8?B?UmV6YQ==?= Microsoft ASP .NET 0 23rd Mar 2004 01:16 PM
Catching(trying - no luck) the last error (exception) in the a error page??? =?Utf-8?B?UmV6YQ==?= Microsoft ASP .NET 0 22nd Mar 2004 08:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:03 PM.