Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8771067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:41:39+00:00 2026-06-13T17:41:39+00:00

Example: I have three tables (Addresses, Customers and Payments). I would like to calculate

  • 0

Example: I have three tables (Addresses, Customers and Payments).
I would like to calculate a discount. But therefore I need to know how many customers are living on each address. I need to count customers for each address in my Payments form, while i’m selecting a Customer, i would like to know how many customers are living on this address.
If i know it then i can calculate the discount.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:41:40+00:00Added an answer on June 13, 2026 at 5:41 pm

    You may be able to use DCount in the control source of a textbox, for example:

     =DCount("ID","Customers","AddressID=" & AddressID)
    

    The above will count a field called ID in the customers table where the AddressID is the same as the AddressID on the current record of your form.

    This is only an outline, you will have to make it suit your set-up.

    Alternatively, you can create a query that counts customers for addresses and use DLookUp on the query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Rails noob here. I have a rails application with (in this example) three tables.
I have three records in a table example: *Usernames* *email* *city* Nick nick@example.com London
I want to do permutation in Perl. For example I have three arrays: [big,
I have three points, for example: Start 194 171 Right 216 131 Left 216
If I have three files index.php file.php and fns.php First example (it works): index.php
For example, if I have three ASCII files: file1.txt file2.txt file3.txt ...and I wanted
I have a three part question based on a dataframe (df is example rows)
I have a three dimensional ndarray of 2D coordinates, for example: [[[1704 1240] [1745
My question is related to exception handling. If i have for example three methods
Here's a problem I experience (simplified example): Let's say I have several tables: One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.