Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1 view, 2 grids
Message
From
21/01/1999 15:14:01
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00178566
Message ID:
00178674
Views:
32
>>I have to put 2 grids, based on the same view, on two pages in one form. The two grids share three columns and the other 6 or 7 columns are just different aspect of the same operation, that have to be kept separated for the user to understand the data.
>>
>>How do I base the grids to avoid conflicts during updates?
>>
>>TIA
>>
>>Silvio
>
>>>If you can live with (SQL)WhereType=1 or 4 then it should work without problems.
>================================================================================
>I don't think I see it clear enough. If I use WhereType = 1 and I have changed the same record in both grids, what happens during the update? In my forms all "saves" are wrapped around a single transaction. I guess I should just try it. Thanks for the idea.
>
>Silvio

WhereType=1 means that only key field (primary key?) change may stop tableupdate. It's another story that doing this way you may overwrite first grid record change by second grid record. Is it really necessary for you to make changes directly in grids?
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform