Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

RECORDSET,open where multiple clauses

$
0
0
HI

I am having issue with recordset when my where clause has more than 1 field
'objRecordSet.Open "SELECT SalesOrder,SalesOrderLine FROM tbl_SorDetail_OtifAudit WHERE SalesOrder = '" & OrderHeader.CodeObject.SalesOrder &"'"
this works correctly
but I don't know correct way to add where SalesOrderLine = & OrderHeader.CodeObject.OrderLine &
I have tried numerous ways and all return recordcount = 0 when know that is not correct

any help much appreciated
Tina

Viewing all articles
Browse latest Browse all 688

Latest Images

Trending Articles



Latest Images