Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update cursor error
Message
 
À
30/11/2001 03:57:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00587781
Message ID:
00588011
Vues:
30
The code seems to work when I run it after opening the project but when running from the executable it fails and gives the message "Cannot update cursor"
I have tried re-booting and running the executable first but with no success. My intention in the code was to append a blank record to the table and place whatever text is in the text boxes in the appended row.
Here is the code the runs from my command button:

IF USED ("login") THEN
SELECT login
ELSE
USE C:\login EXCLUSIVE
ENDIF
GO TOP
IF addrec = .T. THEN
APPEND BLANK
ENDIF
REPLACE login.name WITH thisform.loginname.value
REPLACE login.passw WITH thisform.passw.value
addrec = .F.

Thanks again!
Max
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform