Results 1 to 4 of 4
  1. #1
    ds_8805 is offline Novice
    Windows XP Access 2002
    Join Date
    Jan 2010
    Posts
    27

    runtime error 2448

    Hi everyone! I have a form which allows user to enter new details in a site. The thing is when the user opens the form all the textboxes should be empty and be ready for the user to enter details. Therefore, I put an event procedure in Onopen or onload to initalise all the textboxes to be empty, ( one example textbox shown below)


    Me.SiteName.Value = " "

    it gives me a runtime error 2448 - saying that this object cannot be assigned. I m not sure what the problem is. However when I put the same code behind a button, it works perfectly!

    Hope could point out what I might be doing wrong!

    thanks!

  2. #2
    Datagopherdan is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Dec 2008
    Posts
    220
    Check and see if you have a control source attached to any of those controls, that could be causing the problem.

    Dan
    Access Development

  3. #3
    ds_8805 is offline Novice
    Windows XP Access 2002
    Join Date
    Jan 2010
    Posts
    27
    Thank u sooo much!!! I really appreciate it! The problem is solved

  4. #4
    Datagopherdan is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Dec 2008
    Posts
    220
    YW. Glad you got it working.

    Dan
    Access Development

    Quote Originally Posted by ds_8805 View Post
    Thank u sooo much!!! I really appreciate it! The problem is solved

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

Similar Threads

  1. Help With Runtime Error 4248
    By KLahvic in forum Programming
    Replies: 1
    Last Post: 04-09-2010, 07:47 AM
  2. Runtime help! What am I to do?
    By shesgone in forum Access
    Replies: 2
    Last Post: 04-04-2010, 11:19 PM
  3. Runtime 3075 error
    By whm1 in forum Programming
    Replies: 4
    Last Post: 03-24-2010, 02:50 PM
  4. 2003 Runtime
    By miclar99 in forum Access
    Replies: 4
    Last Post: 01-12-2010, 05:30 PM
  5. Replies: 5
    Last Post: 08-05-2009, 04:07 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