Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DefaultValue
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00464751
Message ID:
00465326
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform