Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Labview sql and record

$
0
0

hello everybody!

 

so i'm working on a software, and i'm still a beginner concerning labwindows/CVI.

 

SO i have a database on postgreSQL.

i made an ODBC connection, and it's ok labwindows and database are connected.

 

so now i want ton know if there's a way to fill a list button with the record in my table for example?

 

i try this : hstmt=DBActivateSQL(hdbc,CDESQL)               

knowing tha CDESQL is declared like that :char CDESQL[]="SELECT mycolumn FROM mytable";

 

and after DBBindColChar(hstmt,1,20,UID,&uidstat,"");

 

declarations : int hstmt=0; char UID[20];int uidstat;

 

thank you very much


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>