UpdatesPending

panda

Member
I don't understand extacly how the function UpdatesPending[] should works.
I use the following script and UpdatesPending[] always return true.

DbJS->JS->ApplyUpdates[OPENARRAY[const TDataSet *, [QList]], false ];
if [QList->UpdatesPending[]]
if [MessageDlg["ASKHPB : Do you want to process receivings ?",
mtConfirmation,
TMsgDlgButtons[]
 
Before you call CommitUpdates you can still rollback or call CancelUpdates, so the updates are still pending.
 
Back
Top