Information générale
Catégorie:
The Mere Mortals Framework
I think I figured it out - I stepped through the code and saw that it was calling my table's newid() code, but that the newid() function used by that database required the table to be the currently selected table, or to have it's table name passed as a parameter. Neither of those was happening. I have to change the code to newid(tablename) in the default of each table.
>I have a view with a primary key field, which is set to autogenerate in the business object. However, after save is called, there is no key in the key field of the view. This prevents me from calling other views based on this key field.
>
>How can I access the auto-generated value? If the bizobj is set to autogenerate primary keys, shouldn't it be placed in the view?
>
>At this point, I'm requerying the whole view, which has too much of a lag.
>
>Thanks,
>
>David
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