Dear barbara and all other helping hands,
Thanks for all your quick suggestions. I have tried all. It is the first record being printed. Finally I have sorted out what causes the problem. All I have mentioned are not the casues. It is the function key to be blamed. When I click the print button all results are consistently correct. But when I use the preset function key all are consistently incorrect. I have used function key in most of my project with no problem. I wonder why there is a problem now. I have change the KeyPreview to .T. and add necessary coding to keyPress event. I would be grateful to receive suggestions with respect to this problem.
Thanks so much
P.S. I certainly enjoy joining the UT and have learned so much from all of you.
Harry
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement