Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I transfer data from lookout to microsoft sql server 2005/2008?

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

0 Kudos
Message 1 of 39
(8,752 Views)

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 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 2 of 39
(8,684 Views)

Here is the source file as requested:

 

the sqlexec object is called Sql1.

Download All
0 Kudos
Message 3 of 39
(8,678 Views)

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 🙂 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 4 of 39
(8,672 Views)

Forgot to add that you need to create a new Pushbutton to Execute the query.

 

Mike 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 5 of 39
(8,668 Views)
I can only find c1-c65535 and when I do drag it, it shows 0. (corresponds to the first data member). How can I view the data in mysql workbench, because I refreshed the table in mysql workbench and it's still empty. Does the table get updated automatically?
0 Kudos
Message 6 of 39
(8,667 Views)

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 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 7 of 39
(8,663 Views)
Could it be because the odbc driver is under user DSN instead of system DSN?
0 Kudos
Message 8 of 39
(8,659 Views)
And how does mysql recognize that this sql function from lookout is executed? Is there something else I have to do in order add this value to the column?
0 Kudos
Message 9 of 39
(8,655 Views)
Is there an alarm in the Alarm Window whenever you execute Pb1 (the button used to execute the INSERT)?
Message Edited by Mike@Forshock on 06-17-2010 04:00 PM
-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 10 of 39
(8,655 Views)