×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# automatic conditional data entray

 Forum Search FAQs Links MVPs

## automatic conditional data entray

(OP)
Help for a newbie!

I’m a priest, with two churches in my care. Weddings take place in both of them, but each church has different fees for the provision of a choir.

I have a Weddings database in Approach that keeps tabs of all the relevant information; the database covers both churches.

How do I set up a field so that IF the wedding is to take place in ChurchA AND IF a choir is to be provided, then the choir fee is X; while IF the wedding is to take place in ChurchB AND IF a choir is to be provided, then the choir fee is Y ?

All help appreciated.
Thanks

Would also appreciate reply to : mkomor @ hotmail dot com

### RE: automatic conditional data entray

Hi,

I would solve this by having a calculated field with the following formula:

#### CODE

If(Church = "Church A", If(Choir = Yes, ChurchACharge,0),If(Choir = Yes, ChurchBCharge,0))

Because the charges will increase over time I would suggest that they are kept in fields, and not coded into the formula.

Hope that helps!

I read a book once called '101 Things to do in Binary'.
It was the best 5 things I ever read.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

#### Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!