cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Update Access Problem

Hi,Engineers
    I have an Expression Error from access.Please watch the diagram,Sentense on Line 5 is    
UPDATE AnalogInputVoltage SET Max=8.00,Min=7.00,Units=0,Terminal=0
where Channel='Dev1/ai5';
The sentence has no prob,but Labview have a 'update expression error'
 
********************************
*The best Chinese farmer*
********************************
0 kudos
Mensaje 1 de 6
3.295 Vistas

Hi,

Plz post your code or a snapshot of the error message that pops up

 

 

0 kudos
Mensaje 2 de 6
3.289 Vistas
Hi Devchander:
    My Access is Chinese version,Please get the link underside.It means Syntax error for Access.
 
 
 
paulbin
 
China
********************************
*The best Chinese farmer*
********************************
0 kudos
Mensaje 3 de 6
3.281 Vistas
The error message states that the expression error comes from the Jet Database Engine and not LabVIEW.  I recommend using the query building utility in Access to make sure the syntax is correct before hardcoding the strings in your VI.  I believe that "min" and "max" are reserved words in Access and you'd therefore have to change the names of those fields; I'm not certain, so check it first in Access.
0 kudos
Mensaje 4 de 6
3.267 Vistas

Hi crystal:

    I followed your advice,The sentense
UPDATE AnalogInputVoltage SET Max=8.00,Min=7.00,Units=0,Terminal=0 where Channel='Dev1/ai5';was successful in Access.

I have no ideal.

********************************
*The best Chinese farmer*
********************************
0 kudos
Mensaje 5 de 6
3.250 Vistas
It's a snapshot for DB Tools Execute Query.vi
********************************
*The best Chinese farmer*
********************************
0 kudos
Mensaje 6 de 6
3.247 Vistas