Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code works on C drive but not on a mapped Novel drive?
Message
De
06/02/2004 12:28:35
 
 
À
05/02/2004 10:16:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00873617
Message ID:
00874889
Vues:
18
Hi Claude,
Just to rule it out: Is there a grid on the form? Where is the focus when you save? Have you searched the many Novell optimization messages on the UT? There are many recommended settings for Novell on this forum...



>I did the following:
>
>1. Update my Novell client to 4.90 SP1a.
>
>2. Commented out code relate to the RLOCK and add AERROR code to determine what the error is after the TABLEUPDATE command. I get error no 109, Record in use by an other user. I aslo display record no and key field value. It is in the middle of the table being updated. What s strange is that I am the only user.
>
>2. If I also comment out the TABLEUPDATE command it works as expected.
>
>Any insight appreciated.
>
>>>>Ok,
>>>>
>>>>Two things...
>>>>
>>>>1. If your cursor is table buffered RLOCK shouldn't be in there, since you ar only doing the replace in the local buffer.
>>>
>>>The cursor contains the input data which is used to update the table pireq. Should I still remove the RLOCK?
>>
>>Yes... I am thinking that since you are locking the record, the update is actually happening there even though you are table buffered, so when you do call table update there are no records to update.
>>
>>Since your design is to update the buffer the RLOCK should not be there.
>>
>>BOb
>>
>>
>>>
>>>>
>>>>2. After you table update fails issue;
>>>>aerror(MyError)
>>>>messagebox(MyError[1])
>>>
>>>Will try that and myerror[2] for message
>>>
>>>>
>>>>This should tell you why the update failed.
>>>>
>>>>BOb
>>>>
>>>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform