KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Connection ID with 4D Open
PRODUCT: 4D Open | VERSION: 6.8 | PLATFORM: Mac & Win
Published On: May 30, 2002

Just a friendly little reminder that when opening a connection with 4D Open you should not use a local variable for your connection ID parameter. Since this parameter is constantly used within other 4D Open commands, you should use either a Process or InterProcess variable.

Ex.

C_Longint(vl_ConnectID)
$ErrCode:=OP Open connection ($ServerID;vl_ConnectID;"4D Open Demo";"user";"pass";"Demo Process")