Results 1 to 2 of 2
  1. #1
    newaccess is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    May 2010
    Posts
    33

    Arrow clear past data during form open


    I have access 2007 on window 7.
    I use form wizard to auto generated a form to add data. Now I want to clear past entered data when form open.
    Otherwise, I can see last enter data during open a form.
    on form current, I put Me.test_name = Null But I get error as
    RUN-TIME ERROR'-2147352567(80020009)
    YOU tried to assign the null value to a variable that is not a variant data type.

    How to fix this issue?

    Thanks for any help!

    new access man

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Would setting the form's Data Entry property to Yes do what you want?
    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. Open form to enter data
    By bharatdubole in forum Forms
    Replies: 2
    Last Post: 12-02-2012, 11:24 PM
  2. Replies: 1
    Last Post: 05-03-2012, 02:25 PM
  3. Replies: 3
    Last Post: 11-09-2011, 09:45 AM
  4. Replies: 1
    Last Post: 11-03-2011, 05:45 AM
  5. OPen Form to add data
    By joemills62 in forum Forms
    Replies: 3
    Last Post: 06-17-2011, 10:14 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