Results 1 to 4 of 4
  1. #1
    MWB is offline Novice
    Windows XP Access 2000
    Join Date
    Oct 2010
    Posts
    11

    Weird Form Control Problem

    Hey guys,



    I have a data entry form with probably around 400 controls. From my understanding Access has a 700+ capacity. More likely then not this is due to a large number of controls I have deleted that still have slots reserved for them in the background. Needless to say i get the "Cannot add more records" error and then my access crashed upon adding another control.

    I did a little research and learned that copying a form with a new name, deleting the original, and renaming the new one should clear the history of these deleted controls. My problem is that when I copy and paste this form nothing happens. I can copy it and when I hit paste it asks for a name. I type a name, and then hit ok and nothing happens. The form isnt added to the list. I tried to paste it into a different database and got the same thing. I also tried copying and pasting another form and it worked fine. What would cause this problem?

    On a side note, I also tried the compact and repair utility with no result.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try importing your db into a fresh, new db and see if the problem follows.

  3. #3
    MWB is offline Novice
    Windows XP Access 2000
    Join Date
    Oct 2010
    Posts
    11
    When I do this all of the forms except that one will be imported

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That means *that* form is corrupt. You may be able to use the undocumented SaveAsText feature to get most of it.
    Application.SaveAsText ObjectType AS acObjectType, ObjectName As String, FileName As String

    LoadFromText is identical in its parameters. For example:

    Application.SaveAsText acForm,"frmMyForm","H:\ClientX\frmMyForm.txt"
    Put this in a standard module and run it from the immediate window.

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

Similar Threads

  1. Date Paramater prints weird
    By NOTLguy in forum Reports
    Replies: 9
    Last Post: 10-20-2010, 07:58 AM
  2. Null Date control code problem
    By DanW in forum Forms
    Replies: 2
    Last Post: 11-10-2009, 03:13 PM
  3. Weird Query results
    By UCBFireCenter in forum Queries
    Replies: 0
    Last Post: 10-06-2009, 03:38 PM
  4. I need help with weird stuff happening on a DB
    By makotoshishio in forum Access
    Replies: 9
    Last Post: 04-02-2009, 12:20 PM
  5. Get the sum of decimal values - weird results
    By BengtCarlsson in forum Queries
    Replies: 2
    Last Post: 02-10-2006, 04:29 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