Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening indexes more than one time in to data session
Message
From
29/01/2002 07:44:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00611786
Message ID:
00612083
Views:
31
>Because they come from another software I can't do anything about it.
>
>>Why not? Structural indices have several advantages. The old-type IDX should only used in special cases, especially temp indices.
>>
>>Hilmar.
>
>>>>>My probrem is:
>>>>>
>>>>>I have a form (Private data session) with a table (Client.Dbf) in the data environnement. In the Init sequence of the Cursor I open indexes (set index to cnum.cdx). When I click on my Add button, I perform a Cursorsetprop("Buffering",4) on the table.
>>>>>
>>>>>If I open the same form again, I get a "Command cannot be issued on a table with
>>>>>cursors in table buffering mode" on the Set index to Cnum.cdx command.
>>>>>
>>>>>If the Buffering mode is Row, all's ok.
>>>>>
>>>>>Is there a way to open the same index two times in two differents data session?

Benoit,
As I can understand your problem comes from the fact that sessions are not different. Even in that case I think you could do that by temporarily setting buffering to row before set index.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform