I really appreciate the help. I couldn't have done it without you.
The only problem now becomes if they enter more than one word into the search.
GENIUS!<br /><br />[<img src='/community/emoticons/emotion-2.gif' alt=':D' />]<br /><br />This did the trick:<br /><br />INSERT INTO #TempItems...
Ok Bambola....that gives me:
SELECT ProductID FROM Products WHERE
ModelNumber LIKE %business% AND Disable IS NULL
ModelName LIKE %business% AND...
There was no output....not that I could see. How could I possibly be passing the @Search as NULL??
Bambola....replacing the code as directed returns
"The stored procedure executed successfully but did not return any records"
I've tried passing...
That is the whole SP.
I use the following to test
@Page = 1
@Search = business
I know it's probably something simply you all can...
no. Same error either through the query analyzer or the script.
calling the procedure this way:
SaleSQL = "sp_simplesearch " & currentpage &", "& iRecordsPerPage &", '"& SearchText&"'"
Line 2 =...
Thanks. I'll check that link.
This sp works:
ModelNumber LIKE '%' +...
With your code suggestion I can give the users the option to search by product id, model name, description etc.....very...
All I'm trying to do in that exec statement is selectany productId where any part of the product description or whatever matches/includes...
I got some wonderful help in here the other day to get some paged query results out of my sp. Now I'd like to use the same idea and modify...
Hey folks...<br /><br />I didn't want to start a duel. <img src='/community/emoticons/emotion-5.gif' alt=';)' /><br /><br />Absolutley, thanks for...
I was able to get it to work with one RS.
All I did was add the orginal
FROM #TempItems TI
Naturally, one rs would be better. I'm still working on it.
Thanks so much for your help! A very slick routine which I think will help my problem.
The only last issue relates to the "MoreRecords".
How do I...
I'm able to limit the columns to Identity & ProductID for the table....but I'm not sure where I should be putting the Join.
OK....I think I understand that what you are getting at.
I appreciate your offer of help when you get home. In the meantime I'll...
I'm afraid this is all over my head.
Products are added to our db throughout the day & night, so with the base data changing at any time,...
Separate names with a comma.