Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box has value when clicked
Message
From
23/08/2005 10:25:06
 
 
To
23/08/2005 09:57:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01042894
Message ID:
01042919
Views:
22
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform