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!

Filter by 'not' statement

Status
Not open for further replies.

Randygk

Technical User
Jun 10, 2003
26
US
I have item id's with numeric values and item id' with alphanumeric values:

ie... inv_mast.item_id
10111
10138M
NIM2015
asst10
9185
99.01895
out of the previous records I would only want to show inv_mast.item_id records 10111 and 9185. How can I filter out all other records?

Thanks in advance,
Randy
 
It looks like you want only numeric values which are whole numbers. If this is the case, then something like this should work as a filter:

isnumeric({table.itemID}) and
remainder(val({table.itemID}),int(val({table.itemID}))) = 0

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top