Question about XBROWSE

Re: Question about XBROWSE

Postby Enrico Maria Giordano » Fri Oct 01, 2010 7:47 pm

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
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Question about XBROWSE

Postby Randal » Wed Oct 06, 2010 3:50 pm

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
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Re: Question about XBROWSE

Postby Gale FORd » Wed Oct 06, 2010 5:52 pm

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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 11 guests