LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connection issue in MS access throught labview

Solved!
Go to solution

Hello, 

 I am using MS Access 2010 and Labview 2012. when I am running vi of Create table and  insert column but  I am getting a repetitive error which is shown in images. 

Please help me resolve this problem.

Download All
0 Kudos
Message 1 of 9
(4,683 Views)
Solution
Accepted by topic author KartikPatel

If memory serves, you need to have column names in brackets if using spaces [Unit under test] [Test result] and so on.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 9
(4,649 Views)

When wiring a cluster you might need to set the column informations first. Check the examples shipped with LabVIEW (sixtypes Insert.vi)

Rodéric_L
Certified LabVIEW Architect
0 Kudos
Message 3 of 9
(4,638 Views)

Hello,

 

I am trying to create the new table in MS Access through LabVIEW. In that table, I want to insert the array of data in the at data terminal.but error displays repetitive which shown in attached image. what can I do to resolve this error .

 

In MS Access, I want to do numbers of records under one field name(Array of data). and that is for more than one fields.

Download All
0 Kudos
Message 4 of 9
(4,612 Views)

That error tells you what is wrong, the data you are trying to store in one of the columns are too big for that column.

 

How have you created the table and what data type are the different columns?

You should be able to see that in MS Access.

 

And one tip, you don't need to wire the N terminal of the for-loop when you have some auto-indexing input tunnels on the loop.

0 Kudos
Message 5 of 9
(4,572 Views)

Hi,

 

I make  the datatype of both string array to text to a field to 255.and Numeric array to Double in MS Access.

 

but this problem still persist.please help me to resolve this error.

 

0 Kudos
Message 6 of 9
(4,552 Views)

Can you attach your vi and database?

That will help us help you.

0 Kudos
Message 7 of 9
(4,537 Views)

PFA for the BD of my VI.

0 Kudos
Message 8 of 9
(4,518 Views)

There are some minor issues with your programming.

Why do you have the sequence structure ? use the error wire to force data flow!

Why are you opening and closing the connection to the database multiple times in the vi?

 

What is the sql query that you what to run at the last connection?

 

I have run your vi with a new database, and I got no errors.

I have attached the database and dns file for connection info.

 

0 Kudos
Message 9 of 9
(4,507 Views)