Advertisement

08.16.2008 at 06:47AM PDT, ID: 23653468
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Question on Error Correction

Asked by billcute in Microsoft Excel Spreadsheet Software

Tags:

The attached code works great, it has error correction but I believe it needed another error skipping code to be added to the current code.
Here is the Intro.
The attached code selects distinct CustomerID from tblCustomer and finds if record for the selected CustomerID exist in tblW, if it finds records that matches, then, it extracts the record from tblW and populate it to an Excel file....

Flaw:
Current code does "not" skip CustomerID with no matching records in tblW. It infact stop the code from creating
other CustimerID Excel file with matching record in tblW.

New request:
If the code selects distinct CustomerID from tblCustomer and:
a).  finds "no record" in tblW that matches the CustomerID  and / Or
b).  if it finds records that matches the CustomerID in tblW but finds that the CustomerID does "not fulfil"
       the required "Criteria" in "qryCerts" or "mysql" (whatever is being used in the code in populating
       the Excel file)...then do the following:

1). skip the particular CustomerID with flaws in (a) and (b) and GOTO the next CustomerID that fulfils
     the Criteria "and save the exile file" in folder as currently designed in the code.

     Else........
       Do not create an Excel file for CustomerID with no matching records in tblW and / or that the
       CustomerID did not fulfil the stipulated criteria in the "mysql" or "qryCerts"

2). Since the code loops until for each customerID in tblCustomer, I want the code to continue to "skip"
     no matching record CustomerID and go to the next customerID until all customerId(s) in tblCustomer
     have been processed in tblW.
3). Close application when all necessary excel files have been created successfully - this is already
     defined in the code.

Specified Criteria in "qryCerts or mysql" - shown below (if needed):

For example:
If CustomerID is "147" then all jobs performed by Customer with ID "147" that meets the
following criteria would be:
(i)     only all records that are between BeginDate and Enddate; AND
(ii).   only records that are "RR" Or "RP" type  AND
(iii).  only records that are "DM" type AND
(iv).  only records that are "Application" or "NoPermit"
(v)   only records in which ConnSizeID are less than 2; and ServiceSizeID are less than 2 or equal to 2
Start Free Trial
Attachments:
 
 
[+][-]08.16.2008 at 08:01AM PDT, ID: 22244271

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: No Current Record
Sign Up Now!
Solution Provided By: irudyk
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.16.2008 at 08:26AM PDT, ID: 22244338

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:40AM PDT, ID: 22244367

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 09:11AM PDT, ID: 22244428

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 09:58AM PDT, ID: 22244527

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.17.2008 at 07:58PM PDT, ID: 22249164

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.18.2008 at 05:13PM PDT, ID: 22256399

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628