Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The function 'newid' from 'tastrade project'
Message
De
08/08/2004 12:49:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00931633
Message ID:
00931634
Vues:
17
>hi all:
>-i have a database,
>-i used the newid function for a table
>-there is a view, based on such a table
>-when i select the view and i apply an 'append blank' to the view
>-the 'set step on', shows me, that the code in the newid function is being
> excecuted.
>-i find this awkward!! it is supposed, that such a code would be excecuted
> until y come to the 'tableupdate command'???
>-how come i got this?? any solutions??
>-1000 thanks in advance

Jose,

I suppose that the NewId() is in the Default clause of the field. An append blank will fill the record with the default values. Hence that is when the NewId() is called.

That is not really a problem as I see it since a TableUpdate() is only trying to permanently 'write' the values in the buffer to disk.
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform