SQL Result - Forum

Forum Navigation
You need to log in to create posts and topics.

SQL Result

Hy, can you please help me.

How can I get the result ?

The Variable [NN] are emtpy, but MS SQL Browser give a result.

dbpExecSQL "JTL" "SELECT fVKNetto FROM dbo.tArtikel WHERE cBarcode='[Suche]' or cArtNr='[Suche]'" "[NN]"

MessageBox "Test" "[NN]" "[NN]" ""

 

Thanks

Steven

NN should be the table with the results and not a variable, you should use it like this:

dbpExecSQL "JTL" "SELECT fVKNetto FROM dbo.tArtikel WHERE cBarcode='[Suche]' or cArtNr='[Suche]'" "NN"

SetVar "[NN]" "[JTL.NN.fvkNetto]"

 

salu2

luishp has reacted to this post.
luishp

thank you