Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DefaultValue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00464751
Message ID:
00465326
Vues:
26
Aha... I see the problem now. lcBaseTable should be the name of the table that the view is based on. In your case lcBaseTable = "v_contview". That will produce this error when calling DBGETPROP() too. I would place a break in the OnNew method of the KBizObj class and trace through and see why lcBaseTable is the name of your view. It should be the name of the table the view is based on.

>Hello Doug
>Thank you. At first check the two variables were correct. lcBaseTable is the view that I am using "v_contview" and lcPrimaryKey is correct as "contractno". So to my way of thinking if the default "newid()" was available in the view it should produce the unique next contractno.
>You intimate that the view will obtain the unique next contractno from the underlaying table using its "newid()" procedure, is that correct?
>I thought that the view was a separate entity and only passed information back to the table when the view closed! maybe I have the wrong idea of what a view is? Thank you for your input. Allan

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform