` Hiding MS-SQL error window (John Griffiths ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Hiding MS-SQL error window
2007-08-28 -- John Griffiths
 
1 Trancode{PROP:LogonScreen}=False 2 OPEN(Trancode) 3 if errorcode() 4 message(' Program could not connect to yaddayadda',' &| 'Connection Problem',icon:hand) 5 return 6 end 7 CLOSE(Trancode) At VERY start of my programs I usually do something like the above... 1 This line prevents the MS-Logon screen if connection fails 2 Opens one of my smallest files temporarily to test the connection 3 thru 7 handles errors and pops up my message...


Today is November 21, 2024, 7:49 am
This article has been viewed 35276 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: