>I have a couple of questions about your code. What happens if the call to the New() method fails?
I never get an error in new() method; the form have an ~all cases treated in error event. The new() method is called from a button to make room for editing a new record, and newgrid() several times for new lines on child, finaly save() for all.
>
>What exactly do you mean when you say the users overwrite each other? Is it two records with the same Primary key value? Is it user 2 replaces on top of user 1?
User 2 replaces data over fresh appended record of user 1.
>
>Does your form class use a private data session or the default data session?
>
Private datasession
>Your TableUpdates are not using all of the arguments and they should to remove possible side effects of outside things changing work areas or record pointers.
The area with table wich need saved are selected prior.
>Can you show us examples of what lLink and lMasterLink might contain? You use them both inside of an INSERT INTO and a REPLACE and these two commands take different types of values. Are these single field names always?
The value for llink=name of common field, ldatamaster=alias parent, ldataslave=alias child and lmasterlink=alias.field primary key are geting values from form properties wich are not changed at runtime(only on design when use the class)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement