Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In new record data from former-displayed records can be retrieved. Why?

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Next scenario:

VFP9 SP2
Dataform with textboxes. Controlsource is optimistic buffered view.
After having displayed some records I append new record.
Than I put cursor at pos.0 of a textbox I press several times del-key and than the contents of other records appear in that textbox. Why??
I removed all possible suspecious code from gotfocus method (in class; no code in textbox itself) but without result.
Can anyone reproduce this weird behaviour or know how to prevent this behaviour?

-Bart
 
I found this strange behaviour not only took place whille appending records but also by editting the field.

Problem is solved now !

I gave the format property value T to prevent input with leading spaces. That did what was expected but with the weird additional behaviuor.

By removing T from format property I got rit of this behaviour.

Anyone knows this is 'known-bug'?

-Bart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top