access

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access

Access

resolvedResolved · Low Priority · Version 2003

Natalie has attended:
Excel Advanced course
Access Intermediate course

Access

What is a conditional macro?

RE: Access

Hi Natalie,

Thank you for your question.

A conditional macro runs a set of instructions when a certain condition is met.

E.g. If you had a set of sales figures, you could say that if the sales figure > 200, then show a Message box saying "Well Done". The condition being the field > 200 and the action being creating a message box. Then you can attach the macro to the Sales Value field and tell it to run when that field has been updated or run it on the current values in that field.

I hope this answers your question.

Regards

Simon


 

Access tip:

Deleting duplicate records from a table

You cannot delete records tables where there duplicate records. A way around this is to create a new table which wont hold the duplicates. and then deleting the old table.

1. Use a make-table query based on this table only. IMPORTANT - Ensure that you include all of the fields from your original table or you may loose data.

2. Open the query's property sheet by using VIEW, QUERY, PROPERTIES, and set the Unique Values property to Yes

3. Because you have selected the Unique Values to Yes when you run the query, Access creates a new table without duplicate records. You can now delete the old table and rename the new one.

View all Access hints and tips


Server loaded in 0.07 secs.