Results 1 to 12 of 12
  1. #1
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32

    loyalty program

    I came to this forum once or twice before and got some great feed back so here I am needing some guidance.
    My new project is a loyalty program. Im not too sure where to start so im hoping to shoot some ideas out there and have someone correct me if im going the wrong direction.

    I was thinking table A would be a customer table including info such as name phone and customer id.


    Table B would be a table on transactions of adding or usage of loyalty points.

    Does this sound like im headed in the right direction?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Yep. Just make sure that the two table have a common key field (like Customer ID) so that they can be easily joined in a query.

  3. #3
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Thank you. So I Finally got to sit down and work on my database.
    I have 2 tables
    Table one (Customers-Table)
    which includes Customer-ID,First-Name, Last-Name, Phone-number
    Table two (Rewards-Table)
    which includes ID, Customer-ID, Transaction-Date, Invoice-Number, Reward-Points.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Instead of
    First-Name

    I would use a naming convention more like
    FirstName

    or
    First_Name

    Code may interpret - as a minus symbol unless special care is used in syntax.

  5. #5
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Thanks for the advise.
    My next project is putting in a dead line or expiration on the reward points. Any suggestions?

  6. #6
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Add Start and End Date Fields for this that way you can calculate the Dead Line.

    HTH

  7. #7
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    sorry Burrina Im kind of new. Where should these dates fields be applied or better yet do you have an example.

  8. #8
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    In your Rewards Table.

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    It will be useful to you and to others trying to offer advice if you were to write a description of all you are trying to do. Then design tables and relationships to support that business description. You can build the database in meaningful pieces --knowing that the pieces will fit together --based on your table and relationships design (data model).

    Good luck.

  10. #10
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    My biggest issue at this point is how to keep track of the rewards point as they expire. Lets see if I can explain: Lets say that points expire on the 5th day of not being used. At first glance I thought this would be easy because on the 6th day, day 1's point would be removed from the calculation. If you look at the chart below though on the 6th day you would actually be at -5 points if this was the case not 5 like it should be. Hopefully this makes more sense.
    Day Points Balance
    1 10 10
    2 -5 5
    3 -5 0
    4 5 5
    5 0 5
    6 0 5

  11. #11
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    This is my point exactly ---you're trying to figure out HOW
    to keep track of the rewards point as they expire
    .

    It would be beneficial if you started with WHAT the business is.
    It seems you have Customers who make Purchases. Based on some policy you award Customers "loyalty Points" based on
    ??the value, the frequency of purchases.

    What are the business rules/facts? You need to know WHAT you're are trying to accomplish before you can determine HOW to do it.
    Good luck with your project.

  12. #12
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Its a retail store. As far as how points are calculated it doesnt really matter because ill be manually typing in the value (the database wont be calculating this value).

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

Similar Threads

  1. How to Program ZoomBox
    By taimysho0 in forum Programming
    Replies: 1
    Last Post: 07-05-2012, 04:37 PM
  2. Program a 30-day trial into my Access Program?
    By genghiscomm in forum Programming
    Replies: 1
    Last Post: 05-26-2011, 02:14 PM
  3. Is Access the right program for me?
    By Cole in forum Access
    Replies: 1
    Last Post: 08-07-2010, 08:47 AM
  4. Program appearance
    By fojcenter in forum Access
    Replies: 2
    Last Post: 02-23-2010, 05:27 PM
  5. some problems with my program
    By grad2009 in forum Access
    Replies: 3
    Last Post: 02-11-2010, 03:29 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