General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
It is the way to verify connection. If you need to verify connection when you create dbc programmatically, then you can use connectionhandle. Like:
*====================
store SQLSTRINGCONNECT(;
dbgetprop(connection_name,"connection","connectstring"));
TO gnConnHandle
if gnConnHandle >0
wait wind "Connection Established"
endif
sqldisc(0)
*--------------------
><< Can you verify that ConnectionHandle>0? >>
>
>I don't need to. I'm using Remote Views. Views handle all that. Only when using SPT is when you perform all that checking.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only