Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering affecting copy and paste?
Message
De
05/11/2008 09:12:00
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
05/11/2008 08:45:17
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nouvelle-Écosse, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01359242
Message ID:
01359796
Vues:
45
>Some clarification...
>
>I am using optimistic table buffering and multilocks is on. I can type changes into any field and they remain visible after the cursor leaves the field. If I copy text into the field and leave the field, the copied text disappears. What is different between typing and copying text into a field?
>
>I use TABLEUPDATE() once the grid loses focus.
>
>Thanks

Hi Barbara

The grid doesn't have a lost focus. I'd add save and cancel buttons.

I created a new form, dropped a grid on it. I set the grid's recordsource to members. The form.Load method is this:
SET TALK OFF
SET MULTILOCKS ON
USE MEMBERS IN 0
CURSORSETPROP("Buffering",5,"MEMBERS")
the save button click code is
IF NOT TABLEUPDATE(.T.,.F.,"MEMBERS")
  AERROR(laError)
  MESSAGEBOX("Save failed")
  SUSPEND
ENDIF
The copy/paste works fine. Build such a form, see that it works and use it as a baseline for comparison of your form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform