Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append recs goes overlaped
Message
De
18/01/2002 14:32:10
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00606423
Message ID:
00606958
Vues:
37
>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
Fil
Voir

Click here to load this message in the networking platform