Information générale
Catégorie:
The Mere Mortals Framework
>>>I don't know if this has come up before, but the SET REPROCESS TO AUTOMATIC in NewID() probably isn't the greatest idea for COM objects, since it assumes a UI to display the message.
>>
>>Check out Sys(2335, n)
>>
>>BOb
>
> OK, so now you're not left wondering why your component locked up. Hmm...I wonder if this get's set in MM when you compile as COM. Probably should be.
No... if you read the docs you will see that this will cause a waitstate UI to raise an error... Non-wait state UI is ignored... I think in this case you would have a non-wait state UI.
If it is a wait state UI you could add this check to the error message of the data behavior class so that it can be delt with.
Of course, an easier solution might be using GUID's for Primary Key values.
BOb
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