NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sql Steptype write to Excel

Solved!
Go to solution

Hi

 

Since a long time i am using Sql Step type for reading excel spreadsheets.

Now i like to do this the opposite way. - just writing to excel.

 

Set and Put new Record is getting an Error:

 

ADODB.Recordset (0x800A0CB3)
 Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.

 

Has anyone eperience with that. or will that not work with TS here?

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 1 of 2
(4,083 Views)
Solution
Accepted by topic author j_dodek

Hi,

 

I have solved it by getting rid of "IMEX=1" in the connection string.

Now it looks like that:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Test.xls;Mode=ReadWrite;Extended Properties="Excel 12.0;HDR=YES";Persist Security Info=False

 

Regards

 

Juergen

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 2
(4,048 Views)