Results 1 to 10 of 10
  1. #1
    Jerry Call is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2020
    Location
    Champaign, Illinois
    Posts
    85

    Review updated database attached to determine cause of error described in previous post

    Pay attention only to frmOpening and frmSodaCatalogue. The latter is where the problems lie.
    The other catalogue forms are incomplete (although they work, unlike


    my present frmSodaCatalogue). In the finished version frmOpening will be the
    splash screen, and users will select Soda Tally Catalogue from there. But you
    can also call frmSodaCatalogue directly. Either way, both have the crippling problem.

    The two procedures that seem to be causing the trouble are FulUnitCost_AfterUpdate() and
    ItemName_BeforeUpdate.

    I'm not sure I've managed to get my ZIP file included here. The methods of doing this
    are still awkward for me. There's an ikon with my file name on it, so let's hope that's
    what you're looking for.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    There is no file attached. Should this have been continued in existing thread?
    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
    Jerry Call is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2020
    Location
    Champaign, Illinois
    Posts
    85

    Cannot get my database zipped file into your slot

    I have the right file located in my computer directory. I can click on it and successfully drag it
    to the proper place. But when I let go of the mouse the image disappears!
    You'd think it would be a simple Copy/Paste operation, but it ain't
    working for me! I can Copy it within my own computer, but how to
    get it to Paste when the image is in your spot?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Don't know what to say, attaching files here is simple enough for me. Haven't you already done this in other thread?

    Browse instead of drag.
    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
    Jerry Call is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2020
    Location
    Champaign, Illinois
    Posts
    85
    It is very weird, indeed, because I succeeded earlier on. The main problem then
    was figuring out how to make the zip. Now it's getting the zip to you.

    I'm not sure how to do the Browse method. However, I could easily send it to
    you in an email if I knew an address.

    Aha! I tried the Browse technique, and I think it worked! Check it out.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    No, there is nothing attached. Click "How to Attach Files" button at top of page.
    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
    Jerry Call is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2020
    Location
    Champaign, Illinois
    Posts
    85

    All right, now you've got it! Let's get it on!

    I saw it happen. Now down to business. Check out frmSodaCatalogue mainly. I already told you the
    two items that took it down (but earlier ran perfectly).

    I see also that the MISSING frmSodaCatalogue also appears in the other catalogue forms.
    Seems very mysterious.

    If something has been mistakenly deleted, how can it keep hanging around to mess me up now?
    frmSodaCatalogue has already been deleted numerous times, and replaced by cloning
    frmCoffeeCatalogue.
    Attached Files Attached Files

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    I don't see "MISSING" anywhere.

    Issue is due to mis-declaration of AfterUpdate event. AfterUpdate does not have a Cancel As Integer argument, BeforeUpdate does.

    Private Sub ItemName_AfterUpdate(Cancel As Integer)

    should be

    Private Sub ItemName_AfterUpdate()

    Then you have

    Option Compare Database
    Option Explicit


    located within FullUnitCost_AfterUpdate()

    Those lines can only be in a module header.
    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
    Jerry Call is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2020
    Location
    Champaign, Illinois
    Posts
    85
    Thank heaven for fresh eyes! Everything working fine now. Appreciate your patience. However, you say
    you can't see any "MISSING frmSodaCatalogue." Well, I'm looking right at it this very moment in
    the Object Dependencies section of SodaCatalogue. Under Tables there are two items:
    "MISSING frmSodaCatalogue" and "tblSoda." The latter, of course, is fine. And it would
    seem that the MISSING item can be overlooked, because the form came right up
    running smoothly when I opened it.

    So chalk up another victory for the forum gang. Twenty smilies for y'all.

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Learned something new. I've never given any attention to Object Dependencies pane. So now I see what you were talking about. Review https://answers.microsoft.com/en-us/...0-b3f2a848bd27
    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: 7
    Last Post: 08-14-2017, 03:40 PM
  2. Replies: 2
    Last Post: 12-16-2016, 12:55 AM
  3. someone to review my database
    By hatman in forum Access
    Replies: 20
    Last Post: 02-12-2014, 02:15 PM
  4. Can somebody review the code in attached database?
    By A Abbas in forum Programming
    Replies: 4
    Last Post: 01-27-2012, 04:57 AM
  5. review my database
    By simba in forum Access
    Replies: 0
    Last Post: 06-20-2011, 08:40 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