Thanks. Yes, I'm using DBLOOKUP.
When i directly give the value for the "Where" clause, the value is getting pulled up. But when i give the variable, i'm not getting any output.
My query looks like this
DBLOOKUP ( "SELECT BOL from TASN where InvoiceNo =33208506", "MFSelect.mdq" , "EDIIN" )
I get the output.
If i replace the InvoiceNo with the variable, it looks like this
DBLOOKUP ( "SELECT BOL from TASN where InvoiceNo = " + Ih_Invoice_Num Field:.:invoice + ",""MFSelect.mdq" ,"EDIIN")
Ih_Invoice_Num Field:.:invoice - this field is text in type tree and i have defined InvoiceNo in the table as VarChar.
The actual InvoiceNo data will be alphanumeric.
What am i doing wrong.. i'm little bit new to the database mapping.. is anything wrong with the syntax??
Any help is appreciated. Thanks.