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

Search results for query: *

  1. Kepton

    Opening a specific Word Document

    Perfect, thanks RoyVidar.
  2. Kepton

    Opening a specific Word Document

    Hello all, PHV's solution works great, but is there some way to make it more portable? I have a folder in the same file as the database with several excel sheets in it. These will travel with the database, but what directory the database will end up under is unknown to me. Is there some...
  3. Kepton

    Attempting to find records on partial match

    Thanks PHV! That mostly did it, there are a few blanks still but I should be able to figure them out. I am assuming Trim works like the trim in VB, as in removes whitespace before and after the string. Does access add whitespace somehow? After double checking I didn't see any extra leading...
  4. Kepton

    Attempting to find records on partial match

    Adding "'s to the statement threw an error. Using %'s didn't throw an error, but returned no results.
  5. Kepton

    Attempting to find records on partial match

    SELECT [idNumber] FROM items WHERE items.[location] Like '*areaName*'; where "areaName = area with items in it" brings up all items that have that area anywhere in their location field.
  6. Kepton

    Attempting to find records on partial match

    traingamer: trying that gave an error. SELECT [idNumber] FROM items WHERE items.[location] Like '*" & [Forms].[products].[itemSearch] & "*'; ItemSearch is a combobox which draws values from a seperate table. This table has all the areas items are kept.
  7. Kepton

    Attempting to find records on partial match

    Still doesn't work. Is there any info I've missed that could help?
  8. Kepton

    Attempting to find records on partial match

    Thanks for the quick reply, but no luck. Some additional information: the location being looked for is pulled from a form, so currently I have something like this SELECT... WHERE [table].[location] LIKE [forms].[myform].[locationSearch] I've tried a few variations as well, such as...
  9. Kepton

    Attempting to find records on partial match

    In the database I am working on, each record is given a location. The problem is the locations are fairly detailed, making exact matches long and returning only one or two results. Is there any way to search the location field for certain keywords? Example: Item 1 location = "Room1 first...

Part and Inventory Search

Back
Top