Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't update the cursor
Message
De
22/06/1999 15:06:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00232629
Message ID:
00232649
Vues:
13
>>I'm constantly getting this message:
>>
>>"can't update the cursor"
>>
>>But isn't a cursor is a table, the part of the program that fires up this error tries to update a field on a record of a table by using the replace command
>>
>>This is form a multiuser application that haven't got this problem before.
>>
>>Thanks
>
>select Cursor_name
>use dbf() gain in 0 alias different_name
>use
>select different_name && now cursor is read-write
>
>If you are using a SQL command to create the cursor, add NOFILTER to the end of the command to prevent VFP from just placing a filter on the table.

Thanks Mark and Larry

Here is the story ...
This applications was working fine since uuhhh! long ago..

This mornign I had a call from one of the users telling me about this problem

I check the code ( isn't mine) and I find out that this a very simple app opens the dbc and then the needed tables (no cursors, no views) and at the long on the apps append a record in the logusers table and then is whe it happens, the code is a simple serie of replace statements...

any idea?
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform