VFP Connection error

Emilio Morimoto
Emilio Morimoto used Ask the Experts™
on
Dear,

Is there any way in VFP to disable the screen that opens for entering connection's parameters when a failure occurs?

Our routine identifies and treats the '-1' returned when a connection fails, but can't close automatically the screen above.

Thank you.

Translate from portuguese:

"Prezados,

Existe no VFP alguma forma  de desativar a tela que é aberta para digitação de parâmetros para conexão quando ocorre alguma falha ?

A nossa rotina identifica e trata o '-1' retornado quando uma conexão falha, mas não consegue fechar, automaticamente, a tela acima.

Obrigado. "
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Founder, Software Engineer, Data Scientist
Commented:
http://social.msdn.microsoft.com/Forums/en-US/visualfoxprogeneral/thread/1e576a2e-87d4-43b5-8788-8b01f0a246cd

=SQLSETPROP(0, "DispLogin", 3)     && do not show odbc login when error
CaptainCyrilFounder, Software Engineer, Data Scientist

Commented:
Emilio MorimotoProgramador

Author

Commented:
Thank you. As always, absolutely accurate.

Translate from portuguese:

"Muito obrigado. Como sempre, absolutamente preciso."
CaptainCyrilFounder, Software Engineer, Data Scientist

Commented:
You're welcome!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial