Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box has value when clicked
Message
De
23/08/2005 10:25:06
 
 
À
23/08/2005 09:57:50
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042894
Message ID:
01042919
Vues:
21
Steven

Is your cursor writable?
What mechanism do you use to get the next record? You say scroll - I presume via a grid. So, in the AfterRowColChange event of the grid, do you issue a form refresh, to ensure that the bound controls on the form are getting the most up-to-date values from the cursor.
Having said that, you say "Since this text box is based on a field in my SPT cursor" - I take this to MEAN the text box IS bound to the field in the cursor.

HTH

Terry

>I need someone to help me understand cursor behavior with in a form.
>
>I have a form that runs SPT on load event. I have a field that holds a record seq number. If I scroll through the records to a record where this field is empty, type in a value, move to next record, click in the text box to add a value, at this time the value I typed in before appears in the text box. Since this text box is based on a field in my SPT cursor, I don't want some automatic value populating this box.
>
>Why is this acting like this?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform