Results 1 to 4 of 4
  1. #1
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496

    deleting control corrupts from

    I have a form (with serveral controls tabs, etc.)
    As soon as I delete a control (and, actually, I'd like to delete several), then save the form... it no longer opens (presumably, it is corrupt?)
    Compact and Repair does not help.



    at best, I get these errors
    - when opening the form from a command button on another form: "the OpenForm action was canceled"
    -when opening the form from the project explorer: "the expresion on Open you entered as the event property setting produced the following error: Object or Class does not support the set of events."

    and suggestions about what the problem might be?

    many thnaks in advance,
    Mark - "the Frustrated..."

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    I've also had this problem in the past, and I never did find an answer. If I didn't save the form after every little change I made 'after changing a textbox to combobox or vise versa', access would crash.

    what I did was save the form after every change, be it a name change, moving it 2 px down, whatever. I did this like 10 times and the form never froze again. No idea why.

    try importing it into a brand new db file.

  3. #3
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496
    A month or few ago, I ran in to the exact same condition you speak about: "save often, and save always... always!!" -and that seemed to work (as annoying as it could be)
    That doesn't seem to be the case this time, although,of stuborness, I'll keep trying.
    Thanks, if I find anything., I'll def let you know

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,524
    I've been pretty lucky, but if Adam's idea of importing objects into a new db doesn't work (and it is the first thing to try), there's also SaveAsText/LoadFromText at the bottom here:

    http://allenbrowne.com/ser-47.html

    and decompiling, which is discussed up higher on the same page.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. deleting records
    By radicalrik in forum Queries
    Replies: 2
    Last Post: 07-14-2010, 03:10 PM
  2. Deleting certain data
    By swindmiller in forum Queries
    Replies: 3
    Last Post: 02-17-2010, 10:39 PM
  3. Deleting Duplicates
    By TundraMonkey in forum Queries
    Replies: 4
    Last Post: 09-08-2009, 07:13 AM
  4. Sending control to specific control
    By wasim_sono in forum Programming
    Replies: 2
    Last Post: 04-19-2007, 08:19 AM
  5. Deleting Spaces
    By grgerhard in forum Import/Export Data
    Replies: 2
    Last Post: 04-30-2006, 06:42 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