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

    Customer Reward Program design


    Ive asked this some what before but I think there was some confusion of what Im attempting to do.

    Im trying to design a Rewards program for my retail store but I dont want the customer to rack up points over time. So I would like to implement an expiration on these points (create some kind of urgantcy to use there points). If there was no expiration date this would be simple math, Points accumulated minus Points used. Sense this isnt the case I need to some how keep track of the points and make sure when points are subtracted/redeemed that the're subtracted from the oldest points available.

    Ive tried to find examples of ways to do this but I cant seem to find anything. I would really appreciate some help here.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Sounds simple enough. They use a point, a point gets subtracted. A point expires due to time, a point gets subtracted.

  3. #3
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Maybe Im making this more difficult then it has to be but I dont see how you could just remove points.
    Lets say that if points arent used they start to expire on the 31st day. If on day one a customer earns 15 point, but on day 15 he uses 10 of those points. This leaves him 5 Points that will expire on the 31st. On day 31 I can't simply remove 15 points that were added day one because that would put is count in the negative.
    Does this make sense?

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Maybe you could dedicate a table to points. You could have a field that is of Yes/No data type, a field that is a timestamp, a PK that is of AutoNumber, and an FK of Long Integer to store the customer ID. Each record will represent one point.

    When a client uses one of their points you can remove the oldest record by changing the value of the Yes/No field. When you query available points you can use the BETWEEN operator in the SQL statement to retrieve only the records Between valid dates and a WHERE clause to retrieve the correct FK and Yes/No fields.

  5. #5
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    I guess I was hoping to find a more automated way of calculating the reward balance vs manually removing points from a particular date. The perfect situation all I would have to do is input a positive or negative number and it would do the rest.

  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
    Just as you enter records for points used by customer, enter a transaction record for expiration of points. The trick is calculating age of points. This is like FIFO inventory. Not an easy concept to design. Review discussion in this thread https://www.accessforums.net/access/...ory-25249.html.
    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
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Thanks june thats exactly what Im after. I tried to open their file but had some issues opening it in 2013. I can open the file and view the tables, queries, reports and macro but I cant edit or view any deeper then that. Anyone have any incite on this?

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Not sure which DB you downloaded.
    Perhaps this version that Orange posted is of use. Hold the Shift key down while the DB is first opening.
    https://www.accessforums.net/access/...tml#post176618

  9. #9
    revvedmoto is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Posts
    32
    Thank you very much. I got pretty much everything taken care of I just revamped the Fifostock file to fit my needs. One last thing I haven't figured out is how to exclude dates older then 2 months. Any suggestions on how to do this? I would like to be able to Open the "Fifo Stock Report" and to have "Total Qty Available" show points that have yet to expire.

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

Similar Threads

  1. Replies: 6
    Last Post: 12-11-2013, 09:27 PM
  2. Replies: 3
    Last Post: 06-20-2013, 01:15 AM
  3. 30 reward dollars per calendar month.
    By NewMexicoNovice in forum Access
    Replies: 2
    Last Post: 05-31-2013, 05:42 PM
  4. Reward Points Calculation
    By imran in forum Access
    Replies: 6
    Last Post: 07-26-2012, 09:27 AM
  5. Replies: 5
    Last Post: 11-24-2010, 11:46 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