V
Visual Systems AB \(Martin Arvidsson\)
Hi!
Im developing my first client/server application.
So ofcourse i got a cople of questions for you gurus out there
Created a simple order/detail, with fields and a datagrid, works excelent.
Now, in a walkthru i read in the helpfile it updates the grid in three
steps.
first it removes deleted orders, then updates updated orders, finaly adds
newly inserted orders.
why is this?
As far as i know i can use the .Update on booth tables to ensure save is
done. Is there a specific reason it is done in three steps?
Second question.
got a simple customer table. When using the wizard to create the dataset,
the dataset is filled when form loads. If i enter a customer record on a
nother computer i need to close down the view and reopen or just issue a
fill to reload data. is there no other way to let the dataset get the new
data, besides using a timer to reload the dataset. Or can i work directly on
the data in the sql server?
Regards
Martin
Im developing my first client/server application.
So ofcourse i got a cople of questions for you gurus out there
Created a simple order/detail, with fields and a datagrid, works excelent.
Now, in a walkthru i read in the helpfile it updates the grid in three
steps.
first it removes deleted orders, then updates updated orders, finaly adds
newly inserted orders.
why is this?
As far as i know i can use the .Update on booth tables to ensure save is
done. Is there a specific reason it is done in three steps?
Second question.
got a simple customer table. When using the wizard to create the dataset,
the dataset is filled when form loads. If i enter a customer record on a
nother computer i need to close down the view and reopen or just issue a
fill to reload data. is there no other way to let the dataset get the new
data, besides using a timer to reload the dataset. Or can i work directly on
the data in the sql server?
Regards
Martin