Alpha Video Training
Results 1 to 4 of 4

Thread: Supercontrol Calendar - Unhandled Exception

  1. #1
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,724

    Default Supercontrol Calendar - Unhandled Exception

    In my database that has been messed up by recent patches I'm now getting an unhandled exception when exiting the form. This is after I placed a supercontrol calendar on the form bound to a field.

    The form opens... the calendar displays and behaves. I can save, move to records, but when I close the form I get the exception.

    Is my database really screwed? Or is it another problem.

    I created a new database and put a table into it, created a form and put the control on the form with some fields... no exception.

    What do you think?

    Time to create a new database and start moving data and forms and code into it? I've never done this... is it possible to create a clean database from a bad one?

  2. #2
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: Supercontrol Calendar - Unhandled Exception

    Hi David,

    Yes it can be done and can be a little consuming, but worth it in the end.

    It is good that you tested the calendar and found that the problem was not a bug. Well done.

    Create a new folder, create a new database in that folder. With the Green Plus bring into the new database all the old tables and sets. Slowly, duplicate each Table and Set and save each one with the same names. Now with the Red Minus, drop the original tables and sets.

    Now edit each form, report and save. Then check each works as expected.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  3. #3
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Supercontrol Calendar - Unhandled Exception

    In addition to--well, actually as part of what Keith stated. If by chance the Calendar control is just in conflict with something in your complete current database (application), move things over one step at a time and after each, test with the Calendar. You may very well just find a conflict this way and not that your database is corrupted. IOW, you may not have to create an entire new database if this is the case.

    I would start with the parts that are necessary that "surround" the Calendar control.
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  4. #4
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,724

    Default Re: Supercontrol Calendar - Unhandled Exception

    That's what I was thinking too, Mike. I do have an image control on that form. The calendar control works fine all other forms in the database, so it's just the one form I need to work on. It's not the overall database I've discovered.

    I may add items to a new form along with the calendar until it breaks.

    Thanks.

Similar Threads

  1. Calendar Unhandled Exception
    By Hoyt in forum Alpha Five Version 6
    Replies: 2
    Last Post: 04-16-2005, 11:26 PM
  2. Unhandled Exception
    By Bill@TrackerSystems.com in forum Alpha Five Version 6
    Replies: 6
    Last Post: 12-30-2004, 09:33 AM
  3. Unhandled Exception
    By cawalton1 in forum Alpha Five Version 5
    Replies: 3
    Last Post: 05-23-2003, 07:54 PM
  4. Unhandled exception
    By Pete119j in forum Alpha Five Version 5
    Replies: 4
    Last Post: 08-31-2002, 07:34 AM
  5. Unhandled Exception
    By davej in forum Alpha Five Version 5
    Replies: 6
    Last Post: 08-07-2002, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •