>Hello everyone,
>
>I am having a strange behavior when navigating my Employee form.
>I populated a form with a cmdEmployee command from my 'Dataenvironment1'.
>I run the form and modify some information in one of the text controls and when I click on a command button ( cmdNext ) to go to the next record I get the following error : 'Operation was canceled'.
>
>The strange thing is that if I highlight the entire text and then I click on the cmdNext button I do not get any error.
>
>I am using VB60 and a connection to SQL server 7.0
>
>Anybody with suggestions???
Try to see if you have any values in the Errors collection of the Connection object. Without this info, it is like shooting in the dark!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com