LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview sql and record

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

0 Kudos
Message 1 of 1
(3,191 Views)