Re: How to avoid update?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve Jorgensen (nospam_at_nospam.nospam)
Date: 02/19/05


Date: Fri, 18 Feb 2005 18:00:24 -0800

To flesh out this answer a little more...

Often, when there is a need to save data in several tables all at once (such
as a master and details), it's best to have some kind of batch posting
mechanism, so the data is entered into a staging table or with a pending
status, then, when a Post action is requested, copy the data into the
permanent table, or remove the pending status flag on the master record for
the entry.

There are side benefits to this approach, including the fact that a user can
leave an entry 1/2 done, close the program, come back later, finish it, and
post it. This scheme can also overlap with other useful business metaphors,
for instance, a pending order can double as an estimate.

On 18 Feb 2005 17:30:59 -0800, "Barry-Jon" <barryjonoconnell@yahoo.co.uk>
wrote:

>Using an embedded subform when you leave the subform it loses focus and
>the (sub)record gets saved. You might consider using temporary tables
>to hold the data (the save still happens but to the temporary table).
>You could then take whatever additional actions you wanted to take and
>depending on whether or not you wanted to commit the changes you could
>explicitly 'save' the record to the permanent tables using code or an
>update/append query.



Relevant Pages

  • Re: How to avoid update?
    ... as a master and details), it's best to have some kind of batch posting ... so the data is entered into a staging table or with a pending ... or remove the pending status flag on the master record for ... the entry. ...
    (microsoft.public.access.forms)
  • Re: Image Query question
    ... datatype puts a digit in each nibble. ... For Manual masters, the key value entry must be added to the master before ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • RE: Table as Criteria
    ... pick one table to be used as the master. ... Run an update query for the master table to update its MonthID entry to ...
    (microsoft.public.access.queries)
  • HTML: Silent Knight 5000 Series Telephone Entry Control Systems
    ... onmouseover_category(697, 'Silent Knight Telephone Entry Systems', ... Only one master per system. ... f_move2cart_form_alias1('12113', true, 'There is a missing required Option. ...
    (alt.security.alarms)
  • RE: Table as Criteria
    ... Brian, I found my answer. ... pick one table to be used as the master. ... >>> Run an update query for the master table to update its MonthID entry to ... >>> field entry for MasterID. ...
    (microsoft.public.access.queries)