Results 1 to 5 of 5
  1. #1
    gangel is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    194

    Noobie needing some help on how to make this "idea" work!

    Hi pplz:
    Background: Very capable at Excel, and making a pharmacy program in Access, adapting from my excel idea.

    The idea is based around medication packs that we have to pack for customers. It is all "date based", nothing to do with drugs etc

    1. Table with all info of customers, packing schedules (weekly, fortnightly, monthly) and doctor details. Done this.
    2. New Px and edit Px screens - made these too. (learning off youtube tutorials)

    3. - the part im stuck on!
    In excel i had a sheet that used macros

    It was pretty much:


    • Column A: Px names.
    • Columns B--> Infinite : Dates that packs were collected by patients (px)

    Therefore.
    John Smith 1/1/13 7/1/13 13/1/13

    etc etc etc

    however I dont really know how to get this to work for my current access setup.

    Do i create a table that is the same as above (and learn how to make the field fill in as packs are collected.. and a new column is created each time a new pack is taken)
    Or do i make a system that creates a new table PER PATIENT that has Column 1: DateID, Column 2 is Date Collected?

    I hope that is clear enough... I just thought this would end up creating masses of tables as each customer ends up having their own, but i didnt think having a Table with hundreds of "unnamed" columns that dont really mean anything, just allowing dates in them...

    Anyway, im noob but a fast learner. If anyone could give me a kick in the right direciton that would be awesome

    Glenn

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Why would the Excel macros create a column for each date?

    Consider table/fields structure:

    tblPacksDistributed
    ID
    CustomerID
    DatePickup
    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
    gangel is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    194
    Thanks for the response June.
    Using the above method, it would only record the most recent pickup date... But i want to keep a catalogue of reference so i have a record of every single pickup date for that customer.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    There would be multiple records for each customer. For every customer pickup enter a new record with that customer ID and the date.
    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.

  5. #5
    gangel is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    194
    Ahhhh that makes so much more sense, So

    ID CustID DatePickup

    Goes down like that then i can query and report from that for specific customers...

    omg brain epiphany Thanks June, appreciate that.

    ill have a crack at making it and see how i go

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

Similar Threads

  1. Replies: 7
    Last Post: 07-19-2013, 11:58 AM
  2. An "iffy" idea
    By djclntn in forum General Chat
    Replies: 3
    Last Post: 02-27-2013, 08:31 PM
  3. Replies: 2
    Last Post: 12-04-2012, 01:03 AM
  4. Replies: 2
    Last Post: 09-29-2012, 11:22 PM
  5. Replies: 1
    Last Post: 04-05-2012, 08:26 AM

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