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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browse statement syntax to find a list of vendor beginning with "ABC"

Status
Not open for further replies.

vbdbcoder

Programmer
Nov 23, 2006
249
US
Hi,

I am not sure the code syntax to pull a list of the Vendor records for criteria beginning with "ABC". This is similar to the SQL key word of "LIKE". The below code does not return vendor "ABC1" and "ABC2" from APVEND. What is the proper way to query? Thanks.

APVENDOR1header.Init();
APVENDOR1header.Order = 0;
APVENDOR1header.Browse("VENDORID like 'ABC%'", true);
if (APVENDOR1header.Fetch() == true)
{
}
else
{
}

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top