06-08-2010 09:38 AM
Can anybody please tell me the exact procedure to tranfer data directly from lookout to microsoft sql server 2005/2008?
-which data sources should I install (ODBC drivers)?
-what do I exactly enter in data source string and SQL fields in SQLexec or datatable object in lookout?
Thanks,
Robert
06-17-2010 03:17 PM
Robert,
As we discussed over the phone, please upload the .lks file and we can help here so everyone can learn as well.
I appreciate the contact and will do what I can to help,
Mike
06-17-2010 03:23 PM
Here is the source file as requested:
the sqlexec object is called Sql1.
06-17-2010 03:31 PM
Robert,
To test if the data is being posted into the MySQL database please create a new SQLExec object called "SQLSelect".
In the SQLExec, set these values:
Data Source = "DSN=pp-lookout;"
SQL = ""SELECT * FROM new_table7 LIMIT 10"
Drag the Data Members SQLSelect.c1 to SQLSelect.c10 to a screen to see if the values are correct.
Thanks and good luck,
Mike
PS: Folders are your friend 🙂
06-17-2010 03:36 PM
Forgot to add that you need to create a new Pushbutton to Execute the query.
Mike
06-17-2010 03:42 PM
06-17-2010 03:45 PM
Robert,
I myself have not used MySQL workbench so am not sure how that product works.
When a successful INSERT query is sent, the database should have the data almost instantly (within 1-5 seconds).
Please verify if there are any SQL errors in the Lookout Alarm Window.
Mike
06-17-2010 03:51 PM
06-17-2010 03:54 PM
06-17-2010 03:54 PM - edited 06-17-2010 04:00 PM