Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About SetAdHocCondition

Status
Not open for further replies.

japanese

Programmer
Apr 7, 2005
12
JP
hi everyone.
I'm sorry to appear so many times.

I have a trouble when I set value with 'SetAdHocCondition'.

In Help Page,
-----------------------------------------
Sub SetAdHocCondition( AdHocParameter Name,
"Table.Column",
"Data Type",
value of AdHocParameter )
------------------------------------------
When I use undermentioned SQL Statement,
my expression is correct or not ??

SELECT
A.KeyColumn,
A.Item1,
A.Item2,
B.Column1,
B.Column2
FROM
TABLE_A A,
TABLE_B B
WHERE
A.KeyColumn = B.KeyColumn AND
:?KeyColumn

SetAdHocCondition(KeyColumn,
"A.KeyColumn",
"String",
:? KeyColumn)

I tried to make it possible so many many times,
but error message shows my faults.....

Does anyone find my faults ??

Thanks,
japanese
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top