LBCC Creating Data Validation Rules at A Record Level Query

I’m stuck on a Management question and need an explanation.

Don't use plagiarized sources. Get Your Custom Essay on
LBCC Creating Data Validation Rules at A Record Level Query
Just from $13/Page
Order Essay

1. Use BUILT-IN FUNCTIONS:Click here for instructions – Create a Totals Query

  • Create a query to get TOTAL claim amount by state during first half of 2015 (claim date between 1/1/2015 and 6/30/2015). Save query.

2. Build an EXPRESSION: Click here for instructions – Create an Expression

  • Create a query to get the ratio of total claim amount to total paid amount per state during first half of 2015 (claim date between 1/1/2015 and 6/30/2015). Save query.

3. Build Update query: Click here for instruction – Create an Update Query

  • Create an update query on patientdata table to update all phone numbers with a prefix ‘1-‘. Run your query. Save as Q3.a. [Note: Running update query multiple times will add the prefix multiple times! ]
  • Go to claims table design and add a numeric field called ‘claim_paid_ratio’ in claims table. Save table.
  • Now, create an update query to input data into this field by building an expression for claim_paid_ratio=claimamount/paidamount. Run your query. Save query.

4. Delete all the data from ClaimsData table where claimsdate is earlier than the service date. [Create a select query to select the rows where claimsdate is earlier than the service date by creating a function from last class. Run it and make sure that you get the correct rows. Then change the query type to ‘delete’ in the design view and run it. That will delete the incorrect information.]

CREATING DATA VALIDATION RULES at a FIELD level

5. Open ClaimsData table in Design view. Create data validation rules.

  • Change claims amount validation rule where claims amount is >=0 and paid amount is >=0.

6. Open PatientData table in Design view. Create data validation rules.

  • Change STATE code so that one can only enter 2 letters.
  • Change zip code length to 9 and create a input mask so that the zip code is entered as xxxxx-xxxx format. Make sure that last 4 digits are optional.
  • Change telephone number length 11 digits and create input mask with the format x-(xxx)-xxx xxxx. Save table.

CREATING DATA VALIDATION RULES at a RECORD level

7. Create a validation rule between claims date and service date.

  • Open ClaimsData table in design view. Click on Property Sheet. Click on Validation and select Validation Rule.
  • Enter the rule. Then Click on Validation Message and enter an error message that you would like to be displayed.
  • Now enter new data. Enter a ClaimsDate that is before service date. You should receive the error message if that is the case.
  • This way users are prevented from entering incorrect dates.

8. Similar to Q7, create a validation rule between Claim Amount and Paid Amount. Think about their relationship and create the rule.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with AssignmentsPros
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Art (Fine arts, Performing arts)
Thank you.
Customer 452453, March 13th, 2021
Literature
YES! Thanks a lot!!!
Customer 452443, January 31st, 2021
Technology
Life Saver!!!!
Customer 452443, February 6th, 2021
Psychology
Thank you!!!
Customer 452443, August 2nd, 2021
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Live Chat+1 (985) 289-4677WhatsApp

Order your essay today and save 30% with the discount code ESSAYHELP