Information générale
Catégorie:
The Mere Mortals Framework
My program fails when I try to add a new record.
The error # is 11
Message: Function argument value, type, or count is invalid
LINE: 99
Code: lcDefaultValue = DBGETPROP(lcBaseTable+”.”+lcPrimaryKey,”Field”, ”DefaultValue”)
Method: onnew
Object: contform1.pgfbizobj.page1.contobj
The program has the correct info as far as lcBaseTable and lcPrimaryKey variables are concerned, but it cannot find the DefaultValue. In the table itself the DefaultValue is newid(). If one append a blank to the table itself the newid() function works fine and offers the next unique id. But the view knows nothing about newid(). Is there a line I can add to the views.prg that will give this information to the view?
Thanks in advance Allan.
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