On 2 Feb, 11:20, "Mark Rae" <m...@markNOSPAMrae.com> wrote:
> "Greg" <spammesil...@yahoo.co.uk> wrote in message
>
> news:(E-Mail Removed)...
>
> > I think the best way to achieve what I want may be to create a
> > temporary table in the database with the user's edited copy of what
> > was originally extracted from the table that can't be edited. They
> > could then edit the contents of the temporary table to their hearts
> > content, and then when happy, update another table using the contents
> > of the temporary table. That way I don't have to worry too much about
> > state. Does that sound like a plan, or over complicating things?
>
> It's a little difficult to tell as you don't mention why any of this is
> necessary...
Mark,
Yes, I can see why you're not too clear on what I am trying to do. The
requirements can be summarised thus

NB there is a lot, lot more going
on in the form besides this, but nothing else is relevant)
There are 2 relevant tables in the database, lets call them
masterSchedule and actualSchedule.
When the user clicks on a button, a grid is shown with the contents of
the masterSchedule table. The user can then add to these details or
remove individual details. On pressing a button, the displayed
contents are inserted into the actualSchedule table. The
masterSchedule table is therefore acting as a group of suggestions, or
a template, as to what will eventually be sent to the actualSchedule
table. The masterSchedule table can never be edited by my part of the
application.
Thanks a lot for your time, and I apologise if I didn't explain fully
enough earlier on in the thread!
Greg.