Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE myview NODATA... and VFP ask for parameters???
Message
From
06/01/2000 00:59:02
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00313345
Message ID:
00313757
Views:
35
I suppose- if the field that you grouped on was the same as the foreign key, so there is no cross updating. Seems like a strange approach to me though-

>Erik,
>
>I've never tried it, but I can see a use for a multi-table view being updatable in one table and having aggregate results displayed a the child table.
>
>Cheers,
>
>Andrew
>
>>>Dear friends,
>>>
>>>I create remote views (most of them has parameters) by code. Then, i open the view with
>>>USE myview NODATA
>>>
>>>and define the updatable fields with DBSETPROP(..., "FIELD", ...).
>>>Ok!
>>>
>>>But, i'm getting a message to insert the parameter (after creating the view), at views that has SUM or GROUP BY functions.
>>>Any idea to avoid this?
>>>
>>>Thanks,
>>>
>>>Ricardo
>>
>>Both SUM and GROUP BY aggregate the results of many records into one record- how can a view like this be updatable? Whhich record should it update?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform