Results 1 to 4 of 4
  1. #1
    ElPerson is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2019
    Posts
    6

    Question Access Form Help Needed!!

    Hi



    I have access form for sale management, and I want access to suggest the customer name from the previous entered in the table , and if i like i can click on the desired one or else i complete entering the data

    see the attachement

    Thank you
    Attached Thumbnails Attached Thumbnails Capture.jpg  

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Sounds like you want a combobox, not a textbox. This is basic Access functionality. Have you studied an introductory tutorial book?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    the previous entered in the table
    Think of a table of records being like a bucket of marbles. In spite of how records appear, there is no guarantee of order. You would be better off basing order on a sorted query. However, you would need to utilize a field that can provide order to that query (such as date or auto number descending) and retrieve the Min of that value (or Max if you sort ascending)
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Further.... you should not be relying on a free form field to enter your customers, those should go into a separate table and you should be storing them on a separate table storing only the foreign key in your 'sales' table.

    just as an example. If you allow free form entry of a customer name:

    CustomnerA
    Customer A
    CustomerA
    cus tomer a

    would all appear as different customers when, in fact they are the same.

    What you should have is a separate customer table

    Code:
    C_ID  C_Name ----> other customer related fields
    1     Customer A
    2     Customer B
    and store the C_ID (primary key field, usually an autonumber) in your 'invoice' or 'orders' table.

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

Similar Threads

  1. Access Search Form Help Needed
    By Thomas Mullins in forum Access
    Replies: 3
    Last Post: 09-28-2017, 07:33 AM
  2. Replies: 5
    Last Post: 03-07-2017, 04:09 AM
  3. Replies: 0
    Last Post: 02-18-2017, 09:07 PM
  4. Replies: 47
    Last Post: 05-31-2014, 02:22 PM
  5. Help needed : Library catalogue in access format is needed
    By dealers in forum Sample Databases
    Replies: 3
    Last Post: 01-16-2014, 02:03 PM

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