Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Which event to use?

    Hi there,

    I am just full of questions today.

    What is the best event to use such that, as soon as data
    is entered in ANY field on the form, the record is saved
    to the table.

    I am interested in this using Access 97, for a multiuser
    environment.

    Many thanks,
    Carlee
    carlee Guest

  2. Similar Questions and Discussions

    1. Getting Error: Event Type 'flash.event:event' is unavailable ?????
      Hi, I am not using Cairngorm or anything, but trying to get an app built first without it then look into it. I am getting this error however...
    2. stumped...table - row - click event, cancel checkbox event
      I have a html table and mutliple rows. On each row i put an onclick event that opesn a modal window and prompts the user for some information. I...
    3. ItemDataBound Event - How to access the previous record when this event is raised in DataGrid?
      ItemDataBound Event - How to access the previous record when this event is raised in DataGrid? During "ItemDataBound Event", I would like...
    4. Urgent: Event executed on server and data which is received by that event sent to the client.
      Hi I am creating a web-based instant messaging application using asp.net. I have a DLL of which I create an object. This object has some...
    5. Assign Javascript event handler function dynamically to a Flash object event?
      I have a Flash player object embedded in one of my web pages. I want to assign code to the OnReadyStateChange event for the object. Every...
  3. #2

    Default RE: Which event to use?

    Hi Carlee,

    My name is Dennis Schmidt. Thank you for using the Microsoft Windows
    Installer Newsgroups.

    You would need to place code on each of the form controls. Using the
    "OnExit" would probably be as good as any.

    I hope this helps! If you have additional questions on this topic, please
    reply to this posting.

    Need quick answers to questions like these? The Microsoft Knowledge Base
    provides a wealth of information that you can use to troubleshoot a problem
    or answer a question! It's located at
    http://support.microsoft.com/support/c.asp?M=F>.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    You assume all risk for your use. © 2001 Microsoft Corporation. All rights
    reserved.

    Regards,
    Dennis Schmidt
    Microsoft Support

    Dennis Guest

  4. #3

    Default Re: Which event to use?

    carlee wrote:
     


    The Before Update event of the form should fire when you manually
    change the data in a Control. So, in the Form's Before Update event,
    put the following single line of code:

    If Me.Dirty = True Then Me.Dirty = False

    to save the record.

    hth

    Hugh
    Hugh Guest

  5. #4

    Default Re: Which event to use?

    On Thu, 14 Aug 2003 14:01:46 -0700, "carlee"
    <gc.ca> wrote:
     

    THe AfterUpdate event of *each and every* control for which you wish
    this behavior to trigger.

    Private Sub txtXYZ_AfterUpdate()
    If Me.Dirty = True Then
    Me.Dirty = False
    End If
    End Sub


    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    http://go.compuserve.com/msdevapps?loc=us&access=public
    John Guest

  6. #5

    Default Re: Which event to use?

    <chuckle> Three experts... three solutions. And they'll all work.

    "There are nine and ninety ways
    Of constructing tribal lays
    And EVERY SINGLE ONE OF THEM IS RIGHT!" - Kipling

    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    http://go.compuserve.com/msdevapps?loc=us&access=public
    John Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139