N
Nags
I have an asp page which users can find the correct ink cartridge for their
printer.
Each cartridge record has a field containing all the known model numbers,
normally separaed by a space, but sometimes beginning or ending <BR> .
The problem comes if the user enters a short model number eg 340, since
there are longer model numbers such as 3405, and the user gets two or more
results - only one being correct.
I could edit the HTML code but I can't figure out how to phrase it.
I really need to search for something like ([space]OR <BR>)&[ModelInfo]&
([space]OR <BR>)
The following seems to be the bit of htm to be modified
fp_sQry="SELECT * FROM MyNewInkModelData WHERE (ModelInfo LIKE
'%::ModelInfo::%' AND ProductCode LIKE 'hp.%') ORDER BY ItemTitle ASC"
fp_sDefault="ModelInfo="
Could someone help?
printer.
Each cartridge record has a field containing all the known model numbers,
normally separaed by a space, but sometimes beginning or ending <BR> .
The problem comes if the user enters a short model number eg 340, since
there are longer model numbers such as 3405, and the user gets two or more
results - only one being correct.
I could edit the HTML code but I can't figure out how to phrase it.
I really need to search for something like ([space]OR <BR>)&[ModelInfo]&
([space]OR <BR>)
The following seems to be the bit of htm to be modified
fp_sQry="SELECT * FROM MyNewInkModelData WHERE (ModelInfo LIKE
'%::ModelInfo::%' AND ProductCode LIKE 'hp.%') ORDER BY ItemTitle ASC"
fp_sDefault="ModelInfo="
Could someone help?