Intouch and MSAccess connection

ggchavhan

Member
Join Date
Nov 2006
Location
pune
Posts
135
Hi all

I have only Intouch 9.5 installed (no sql in start menu) on my PC XP SP2. is it possible to retrive data from msacess and dispaly as tagvalue in intouch.
How its works? any detail procedure?

Thanks
 
I hope this helps as I do not know Intouch, but I assume it has a script function(Be it JVS or VBS)

Using an OLE connection you could retrieve data EG:

'Create connection with access server
Set objConn = CreateObject("ADODB.Connection") 'Create object for sql connection
objConn.ConnectionTimeout = 25
objConn.Open "Provider=microsoft.jet.oledb.4.0;data source=C:\YourDB;"

'Create the command send to server
Set objCMD = CreateObject("ADODB.Recordset") 'Create cammand object for Acces querie
Set objCMD.ActiveConnection = objConn 'Pointer to show cammand which connection to use
objCMD.Open "Select* from [Your_table] where (ColumbName = '" + Value + "')"
' objCMD.CommandType = 1 'adCmdtext



Your_Internal_Tag = objCMD("Value")


objConn.Close
Set objConn = Nothing
Set objCMD = Nothing
Set objParams = Nothing



Remember This is only an example script
 
Thanks LestatZA

I have done it from Intouch only. Procedure is same as defined by you, but all inbuilt functions.

thanks
 

Similar Topics

I have a problem, I'm running an AE Licence Manager on a Windows 2016 Server, and my Window Maker is on another separate Windows 2016 Server. My...
Replies
0
Views
56
Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
145
Trying to export a Modern application for an upgrade to Intouch 2020 but I cannot export the application from the 2014 version because the export...
Replies
2
Views
137
Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
181
Currently we have a fat( I think that is what it is called) Intouch application. An application resolution of 3840x1080, and inside that 2x...
Replies
0
Views
111
Back
Top Bottom