I'm having problems with editing and posting records.

Sometimes when I edit a field, I get 'Not in edit mode'

Is this logic correct ?

I have two files.

Senario 1

I remain on a single record for this operation

Is this correct when I call a new form ?

Using the OnCreate event of the new form, I put the file into Edit mode.
I perform several operations and

OnClose do a Post.

It seems to work fine the first time, but when I call the form a second 
time, I get 'not in edit mode.'

Senario 2

When I'm on the new form, I select data from a 2nd file to update the first.
The data is added or retreived from several records in the second file. Do I 
need to execute Edit and Post each time I move to or from each record?

When do I use Post and when RecordUpdate?

Thanks




_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to