Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems trying to save some records in my table.
Message
De
05/03/2003 16:35:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problems trying to save some records in my table.
Divers
Thread ID:
00761798
Message ID:
00761798
Vues:
66
I've made some modifications in a combobox lostfocus method and after that i build my exe file, and it let me save the first record without any problems, but when i try to save the second one it place the next message error:

RECNO()
Error: 111
It can't actualize the object cursor
Method: Click
Line: 38


My code in my lostfocus method is:
Thisform.combo4.enabled= .F.
If Empty(Thisform.Undsoft1.value)
    Thisform.SOFTWARE1.enabled=.T.
    Thisform.UNDHARD1.enabled=.T.
    Thisform.Modelos1.enabled=.T.
    Thisform.dispositivo1.enabled=.T.   
   Else

    *HERE IS MY MODIFICATION
    thisform.software1.value=exten04.software
    thisform.combo5.refresh
    thisform.undhard1.value=exten04.hardware
    thisform.modelos1.value=exten04.modcodigo
    thisform.refresh
    thisform.combo9.refresh
    thisform.dispositivo1.value=exten04.Coddispositivo
    thisform.combo10.refresh
    *END OF MODIFICATION

    Thisform.SOFTWARE1.enabled=.f.
    Thisform.UNDHARD1.enabled=.f.
    Thisform.dispositivo1.enabled=.f.
Endif
Thisform.refresh
The exten04 is a cursor.

How do i solve this problem out?

Thanks for the help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform