Results 1 to 10 of 10
  1. #1
    JDB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Posts
    3

    Simple Access Template

    Hi,


    I have not used Access for years and looking for a really simple DB.
    All the DB needs to do is input the number of products a buyer purchases on a particular visit.
    Following a time period the user can select a specific buyer from a group of buyers (drop down list maybe?) and select how much of each product they purchased for the time period and print out a report that states the quantity of each item purchased.
    Buyers may purchase many types of product and may come back multiple times in this period.
    This is really all it needs to do at the moment, I have been trying in Excel, however cannot filter by buyer.
    Assistance is much appreciated.
    Thanks

  2. #2
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    Have you used 'sort & filter' in Excel?
    I think the better path is Access, but you should be able to filter in Excel.
    This first step is to figure out what all info you want in the database. Below I've thrown out a start, but there may be other things that need to be included.

    tblBuyer
    BuyerID (autonumber)
    Buyer (text)

    tblPurchases
    PurchaseID (autonumber
    DatePurchased (date)
    Product (text) or maybe there should be a Product table containing possible products, in which case this field would be the foreign key to the product table
    qty (long)
    BuyerID (long) FK to tblBuyer table

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550

    example db

    the forum wont upload my example db.
    send me an email

  4. #4
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    ranman, did you zip the db?

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    yes, but still wont upload. and its 22 Meg zipped.
    ping me an email

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why don't you follow James' suggestion and build one?

    What do you mean by 'Following a time period' - you want to limit buyer frequency of purchase?
    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.

  7. #7
    JDB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Posts
    3
    Hi all thank you everyone for your replies.

    I did originally start attempting to build a database, however as it has been so long I couldn't remember how to start and wasted a fair bit of time before coming on here.

    I have sent you my email ranman, thanks.

    June7 as per your question the buyer may come and buy items on numerous occasions in a time cycle, there is no limit, however during that time period I would like to know what is purchased.

    Thanks again everyone for your help.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A little refresher training wouldn't hurt http://www.rogersaccesslibrary.com/.
    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.

  9. #9
    JDB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Posts
    3
    Well I figured out how to do it exactly in Excel however I thought I'd start building a database as well.

    I don't want to go too far down the wrong track so I have attached what I have started with. Is this all I need and am I on the right track as I am a bit rusty?

    Just the tables and relationships so far.

    I would like a form that I can add multiple orders per day for multiple buyers that basically just picks how many of each product the buyer purchases. Need a field for number of certain products purchased somewhere as well?

    The report would just export all data that a buyer purchased on a date or set of dates.

    I think this is all it needs to do at this stage so should be pretty easy, however I have not done any of this for years.

    Thanks for your assistance.
    Attached Files Attached Files

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    That's a good start. Advise no spaces in naming convention (Buyer Name). Also, avoid reserved words as names (Type).

    Use a form/subform arrangement for data entry/edit of orders. Main form bound to tblOrder and subform bound to tblOrderProduct.

    Could even do form/subform/subsubform - tblBuyer/tblOrder/tblOrderProduct.
    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.

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

Similar Threads

  1. Replies: 6
    Last Post: 04-30-2013, 02:42 PM
  2. Replies: 2
    Last Post: 05-10-2012, 12:50 PM
  3. Access to Excel template
    By thart21 in forum Import/Export Data
    Replies: 1
    Last Post: 02-16-2012, 05:49 PM
  4. Access SOP template
    By daveISWS in forum Access
    Replies: 1
    Last Post: 12-02-2010, 05:06 AM
  5. MS Access Template Problem
    By Zan in forum Access
    Replies: 8
    Last Post: 12-01-2010, 10:16 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