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!

Data in 'schema1.fieldx' contained in data in 'schema2.fieldx'?

Status
Not open for further replies.

dangray

Programmer
Feb 3, 2003
3
US
It appears that a 'LIKE' works only on strings. What I need to do is essentially the following: schema1.fieldx contains data '00014'. schema2.fieldx contains data '00014 00015 00018 00019'. I need a qualification that fires when the data in schema1.fieldx in contained in the data in schema2.fieldx. Possible? TIA.
 
In answer to my own question, qualification would look like
'schema2.fieldx' LIKE ( "%" + $schema1.fieldx$ + "%" )
 
Hello dangray:

Two things: First make sure the QBE on schema2.fieldx is set to anywhere. Second the qual that you're looking for is 'schema2.fieldx' LIKE ("%" + $schema1.fieldx$ + "%")

ciao

john
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top