Question about XBROWSE

User avatar
Enrico Maria Giordano
Posts: 8770
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Question about XBROWSE

Post by Enrico Maria Giordano »

Gale FORd wrote:Yes, it is the controlling index. It must have something to do with the nature of a temporary index.


So try without TEMPORARY clause and let me know.

EMG
Randal
Posts: 261
Joined: Mon Oct 24, 2005 8:04 pm

Re: Question about XBROWSE

Post by Randal »

Gale:

Interesting thread, thanks for your comments and testing.

Do you think it's safe to use cmxShared(.f.) to load records into a browse or array and then call cmxShared(.t.) after they are loaded?

Using cmxShared(.f.) doesn't appear to effect the ability to lock and update a record in a multi-user environment.

What kind of problems might one encounter doing this?

Thanks,
Randal
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Question about XBROWSE

Post by Gale FORd »

My understanding is that with the dirty read turned on ( cmxShared(.f.) ) then you might skip to an invalid record or a seek would show found() but the data does not match.
The speed difference on a network drive is really tempting but I am very careful with this option.
I have tried to put history data in another database so I could use this option. Current and constant changing records are another story.
Post Reply