LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Filter by date Query for access using Data base connectivity tool

Solved!
Go to solution

Hello,

 

I had started my project by reading Access datas, by using an UDL connection,

but now i want to create an access filter using a query that would permit to select two dates, and to obtain all corresponding datas, how to do it using the Parmetrized SQL query?

 

Best regards,

 

Remark: i dont know the SQL language

 

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 1 of 7
(4,962 Views)

Hi salim_mjs,

see the attached picture.

You should also see this or a similar link:

http://www.sqlcommands.net/

 

Mike

0 Kudos
Message 2 of 7
(4,955 Views)

Hi mike,

 

I want to thank you for your help, i really appreciate it,

 

i tried to make the code as ur picture, i had no problem to execute it, but i have no data's in the output

 

i changed the date format, because i suppose that its a short date format in the database.

 

can you just look at it, and tell me if you can find the problem,

 

thank you again for your help

 

Best regards,

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
Download All
0 Kudos
Message 3 of 7
(4,944 Views)
Solution
Accepted by topic author salimo

Hi salim_mjs,

you have to use the date format i used. It's independent from the format in your database. It has to be "month/day/year".

 

Mike

Message 4 of 7
(4,941 Views)

Thank you very much MIKE

 

you are my hero, my problem have been solved

 

🙂

 

 

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 5 of 7
(4,933 Views)

hello again,

 

i have a little problem,

 

my program is working perfectly when im running it, but when im creating the EXE, when i try it and saving the file to EXCEL i have this error

 

Get LV Class

Default value.vi<APPEND>

 

<b>Chaine d'appel complete: </b>

Get LV Class

Default Value.vi

NI_report.lvclass:New Report.vi

Main.vi

 

can you help me solving this problem?

 

thank you in advance

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 6 of 7
(4,872 Views)