+ Reply to Thread
Results 1 to 5 of 5

How do I clear a form without a button

Hybrid View

Guest How do I clear a form without... 07-11-2006, 01:35 PM
Guest Re: How do I clear a form... 07-11-2006, 01:35 PM
Guest Re: How do I clear a form... 07-11-2006, 01:35 PM
Guest Re: How do I clear a form... 07-11-2006, 01:35 PM
Guest Re: How do I clear a form... 07-11-2006, 01:35 PM
  1. #1
    Pam Field
    Guest

    Re: How do I clear a form without a button

    Hi Dave

    Thanks for your help. A moment ago I added the following 2 lines of code
    and it does what I want. Is this an ok way of doing it too or something
    that would be frowned on by those who know better :-) I'm just learning as
    you would probably have guessed.

    Unload frmNewMember
    frmNewMember.Show

    cheers
    Pam
    "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    news:44B38E01.A1260975@verizonXSPAM.net...
    > Just add some more lines before the end of your sub:
    >
    > txtAddress.value = ""
    > txtSuburb.value = ""
    > ...
    > cboThird.value = ""
    >
    >
    > But sometimes users want to keep the values for the next entry.
    >




  2. #2
    Dave Peterson
    Guest

    Re: How do I clear a form without a button

    I think I'd just reassign the values, but that's just me.

    Pam Field wrote:
    >
    > Hi Dave
    >
    > Thanks for your help. A moment ago I added the following 2 lines of code
    > and it does what I want. Is this an ok way of doing it too or something
    > that would be frowned on by those who know better :-) I'm just learning as
    > you would probably have guessed.
    >
    > Unload frmNewMember
    > frmNewMember.Show
    >
    > cheers
    > Pam
    > "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    > news:44B38E01.A1260975@verizonXSPAM.net...
    > > Just add some more lines before the end of your sub:
    > >
    > > txtAddress.value = ""
    > > txtSuburb.value = ""
    > > ...
    > > cboThird.value = ""
    > >
    > >
    > > But sometimes users want to keep the values for the next entry.
    > >


    --

    Dave Peterson

  3. #3
    Pam Field
    Guest

    Re: How do I clear a form without a button

    OK Thanks again


    "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    news:44B39142.D7A8744E@verizonXSPAM.net...
    >I think I'd just reassign the values, but that's just me.
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1