Information générale
Catégorie:
Codage, syntaxe et commandes
Edward,
thanks again. That's another good idea I'll work with. I was dreading having to change all of my views<s>. However, I did find a solution to my problem and that is to wrap the replaces with RLOCK() and UNLOCK().
kim
>>Unfortunatly i've run into a big problem. In order to use the dynamic* attributes for proper coloring of the columns' text controls i have to use a view with a "selected" field to track row status. The problem is now if I hold down either the up or down arrows i'll get a "file is in use" error on REPLACE ALL v_test.s WITH .F., then after LOCATEing the proper record to set am getting "record is in use by another user" on REPLACE v_test.s WITH .T.
>>
>>There must be some buffering of keystrokes here? What do I do now?
>>
>>Doesn't make a difference which BufferMode is used or whether Private DS.
>>
>>I've spent ALL day on this and am getting NOWHERE fast.
>>
>>
>
>I guess you will be better avoiding using a view and working with cursor, i.e. you just collect records from real table to cursor keeping primary key fields there, make multiple selections and run some 'return' procedure scanning the cursor. At least here you shouldn't worry about buffering, data sessions, etc.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement