Subject | Re: [firebird-support] Still UDF problem. |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2003-06-26T12:55:19Z |
At 12:12 26.06.2003 +0000, you wrote:
select categoryid,sNvl(<Language>catname,'') from tblcategories
select sNvl(name,''),
but then you execute the rest from within whatever your programming
language is. My guess is that you want to remove (or add) one double quote,
e.g.
qry = "select sNvl(name,''), sNvl(description,''),sNvl
(SKU,''),tblproducts.prodid,pprice,sNvl(pimgurl,'') from
tblproducts,tbl" + Trim(language) + " where tblproducts.prodid=tbl" +
Trim(language) + ".prodid"
HTH,
Set
>qry = "select categoryid,sNvl(" + Trim(language) + "catname" + ",'')OK, this is simply
>from tblcategories" --This is in fn A() & works fine.
select categoryid,sNvl(<Language>catname,'') from tblcategories
>qry = "select sNvl(name,'')," + sNvl(description,''),sNvlHuh? This doesn't make sense. The beginning is OK:
>(SKU,''),tblproducts.prodid,pprice,sNvl(pimgurl,'') from
>tblproducts,tbl" + Trim(language) + " where tblproducts.prodid=tbl" +
>Trim(language) + ".prodid"
select sNvl(name,''),
but then you execute the rest from within whatever your programming
language is. My guess is that you want to remove (or add) one double quote,
e.g.
qry = "select sNvl(name,''), sNvl(description,''),sNvl
(SKU,''),tblproducts.prodid,pprice,sNvl(pimgurl,'') from
tblproducts,tbl" + Trim(language) + " where tblproducts.prodid=tbl" +
Trim(language) + ".prodid"
HTH,
Set