Results 1 to 8 of 8
  1. #1
    nurul is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2012
    Posts
    37

    how to terminate pop up reminder that has been set(check out)

    hye all,



    i would like to ask is there anyone here know how to terminate reminders.

    i have made borrowing system and it will have date taken and date return..

    for now, my pop up reminder will pop up in a week before the date return.

    my problem right now is if the user return the cd early than the actual date return, the reminder will still pop up. it is because, i have no function to check out the cd..

    how to make the check out and also can disable the reminder if i click the check out for that borrowing.

    i'am beginner in access and VB.
    hopefully somebody can help me on this.

    thank in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Would need to know your data structure and form designs to provide specifics.

    Have you looked at the Lending Library template? Sounds like it might meet your requirements. http://office.microsoft.com/en-us/te...010206883.aspx
    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
    nurul is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2012
    Posts
    37
    tq June7 for your reply..

    i'm use this code at switchboard so that the form will pop up once we open the switchboard.

    If DCount("ID", "Table1", "date_return BETWEEN #" & Date & "# AND #" & Date + 7 & "#") > 0 Then
    If MsgBox("Documents are due in a week. Do you want to review?", vbYesNo) = vbYes Then
    DoCmd.OpenForm "Form1", , , , , acDialog
    End If
    ProgramExit:
    Exit Sub
    ErrorHandler:
    MsgBox Err.Number & " - " & Err.Description
    Resume ProgramExit
    End If
    End Sub


    then maybe i will need to have check out button if the borrower return the cd which i don't know how to do it.
    hope you can help me to solve this.

    thank in advance.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Maybe you just need to include criteria in the code that opens the popup to run only if the cd is still 'checked out' but I still don't understand your db enough to offer specifics. I don't know how you determine a cd is 'checked out'.

    Again, I think you would benefit from exploring the Lending Library db.
    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
    nurul is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2012
    Posts
    37
    can you take a look into the system that i already created..
    so how can i improve the function..

    yes i currently exploring the library lending..still figure out how it functioning..
    Attached Files Attached Files

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Your data includes date_taken and date_return (this appears to be a due date, not the date actually returned). With this data structure there is no documentation of when cd has been returned and therefore no way to exclude it from the DCount expression. There is no way to fix your code because the data structure does not allow for any fix.

    This db really has only one table for data. This is not a relational structure. Why are you building this when a workable product is available?
    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
    nurul is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2012
    Posts
    37
    ok..if i want to use the lending library, can the system show reminder to remind for return the items or maybe can set reminder in outlook like i see the email function is there..?

    actually i'm quite do not understand how the system works...

    sorry because i'm only beginner in vb.

    thank

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I don't think the LL has automatic popup reminders, there is a report to show checked out items. There is simple email functionality. It has no VBA code, all macro driven.

    Suggest you just try entering records and explore the design. Otherwise, go back to the drawing board because what you have now is not a relational database and won't do what you want.
    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. I need a 90 day reminder
    By weadwaker in forum Programming
    Replies: 3
    Last Post: 09-25-2012, 12:49 PM
  2. Follow-up Reminder
    By 1gambit in forum Access
    Replies: 6
    Last Post: 06-30-2012, 11:42 AM
  3. Reminder message box every 3/6/9/12 months
    By Koullis in forum Programming
    Replies: 2
    Last Post: 03-28-2011, 05:29 AM
  4. Timed Pop up reminder
    By Kananelo in forum Programming
    Replies: 1
    Last Post: 03-02-2011, 12:07 PM
  5. advance date reminder
    By Denis in forum Database Design
    Replies: 1
    Last Post: 11-14-2010, 07:40 AM

Tags for this Thread

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