Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus does not work when appending a record.
Message
De
04/11/1997 09:30:10
 
 
À
03/11/1997 23:21:17
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058084
Message ID:
00058137
Vues:
29
>>I wrote a program in vfp50. When I add a record using table
>>buffering, I setfocus to the first field. That works great as long
>>as there are records in the table. If there are not any records
>>in the table, and I try to APPEND BLANK the first record, my setfocus does not work. I can not even click the mouse to get a cursor. It is like to FORM locks up. any ideas?
>
>It sounds more like no record has been appended.

Open a debugger session and set a watch on recno()( or you could put a textbox on the form and inthe click, put this.value = recno()). It sounds like either you are not really appending the record or you are appending the record and then moving the pointer up one to eof(). The behavior you described is by design behavior for controls whose controlsource is positioned at eof(). good luck
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform