T
Thomas Kehl
Hi!
I use ADO - OleDb and a Microsoft Access DB.
Now, I try to execute the fallowing sql-statement:
select *, (select ADNR from AVE_AD a where A.RID = ADRID) as ADNR, (select
NAME1 + ' ' + NAME2 from AVE_AD a where A.RID = ADRID) as NAME, (select CURR
from SYS_CURR c where C.RID = CURRRID) as CURR, (select KPNR from FIBU_KP k
where K.RID = FIBU_BUCH.KPRID) as KPNR, (select BCODE + ' ' + BEZ from
FIBU_BCODE b where B.RID = BCODERID) as BCODE, (select TAXCODE from SYS_TAX
t where T.RID = TAXRID) as TAXCODE, FIBU_BUCH.RID as RID from FIBU_BUCH
where (CLTRID = '19cba318-338c-4098-ba54-c126dcdf8869' AND GJAHRRID =
'7E089F7D-9492-41d3-8C17-1CD64DC0ABC3' AND JCODERID =
'4812DA72-0999-4a60-9F67-CC31E1D4C259') AND [NAME] Like 'sc%' order by DATUM
Desc,LFNR Desc,SUBLFNR
and get an exception:
for at least as one requestet paramter would no value be set
(translatet from german to english)
when i call the statement directly in access, access will request for a
parameter for the field NAME, but i don't know why :-(
can anyone help me?
thanks!
Thomas
I use ADO - OleDb and a Microsoft Access DB.
Now, I try to execute the fallowing sql-statement:
select *, (select ADNR from AVE_AD a where A.RID = ADRID) as ADNR, (select
NAME1 + ' ' + NAME2 from AVE_AD a where A.RID = ADRID) as NAME, (select CURR
from SYS_CURR c where C.RID = CURRRID) as CURR, (select KPNR from FIBU_KP k
where K.RID = FIBU_BUCH.KPRID) as KPNR, (select BCODE + ' ' + BEZ from
FIBU_BCODE b where B.RID = BCODERID) as BCODE, (select TAXCODE from SYS_TAX
t where T.RID = TAXRID) as TAXCODE, FIBU_BUCH.RID as RID from FIBU_BUCH
where (CLTRID = '19cba318-338c-4098-ba54-c126dcdf8869' AND GJAHRRID =
'7E089F7D-9492-41d3-8C17-1CD64DC0ABC3' AND JCODERID =
'4812DA72-0999-4a60-9F67-CC31E1D4C259') AND [NAME] Like 'sc%' order by DATUM
Desc,LFNR Desc,SUBLFNR
and get an exception:
for at least as one requestet paramter would no value be set
(translatet from german to english)
when i call the statement directly in access, access will request for a
parameter for the field NAME, but i don't know why :-(
can anyone help me?
thanks!
Thomas