Results 1 to 4 of 4
  1. #1
    tomself1 is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    3

    Question Find Record using Query

    Hi guys,



    I'm designing a point of sale database, but I'm having a problem working out a way to call up customer details. Basically, when someone buys something, the products are scanned and the details are logged. I have a table of customer information and I'm looking for a way of calling up customer details from just their postcode or their name.

    So for example, the shop assistant can just put their postcode into the system, and it assigns their customer ID to that particular sale. If more than one customer comes up for that post code, it asks more questions, such as first name. If no details come up, it can then prompt to create a new customer.

    Any ideas are much appreciated!

    Cheers,

    Tom.

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    A query joining the 2 tables should work...what have you got so far?

  3. #3
    tomself1 is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    3
    Well, I've created a query that shows all customers, based on a surname & post code input. Unfortunately, I haven't found a way to either select on the correct record in the query, when there's more than one that meets the criteria.

    Cheers!

  4. #4
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    Can you post the sql?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. VBA: Find Record from in table from form
    By shimmy84 in forum Programming
    Replies: 6
    Last Post: 03-19-2012, 10:51 PM
  2. Replies: 5
    Last Post: 11-13-2010, 04:56 PM
  3. Replies: 1
    Last Post: 05-16-2009, 08:47 AM
  4. Find Record button error
    By Zedlexx in forum Forms
    Replies: 0
    Last Post: 03-11-2009, 09:26 AM
  5. How to Find a Record
    By lschlitt in forum Programming
    Replies: 2
    Last Post: 09-09-2006, 06:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums