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 gkittelson 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. nlbertram

    Number with multiple points

    Hi PHV --- Thanks again for your help. However, I am having some trouble with your last post. I am looking to the following Numbers to be returned. - 100019 - 334567 - 558990 Am I missing something? SELECT A.Number FROM yourTable A INNER JOIN (SELECT DISTINCT Number FROM yourTable WHERE...
  2. nlbertram

    Number with multiple points

    That is correct, there will not be repeated instances of 5 and/or 7 for a given Number. I have a follow up question though... It is possible to use PHV's approach to search for the following? Points=5 AND (Points=6 OR Points=7) -
  3. nlbertram

    Unique combinations

    Not yet...it is on my to-do list.
  4. nlbertram

    Number with multiple points

    Hello--- Here is an example of what I am trying to do. I would like to find every unique "Number" that has a specific set of "Points." For instance, the unique Number values that have Points =5 And Points = 7 in this example would be: - 100019 - 334567 Row ID Number Points 1...
  5. nlbertram

    Searching for multiple strings

    Yeah...you are right about the DB design issues. I'll have to investigate that further. In the meantime, the VBA code may be a quick alternative.
  6. nlbertram

    Searching for multiple strings

    Thanks for the tip. However, I am only able to use the most basic SQL statements when working in my particular Access DB. When I use your code the DB hangs and doesn't finish processing. I believe it has something to do with the number of records (1.5 M). VBA code seems to work the best for...
  7. nlbertram

    Searching for multiple strings

    I have a query returning several records where Points=5. Table: old_table Query: old_query ID Number Points 1 876 5 2 345 5 3 989 5 4 112 5 5 394 5 6 834 5 I would like to search for the...
  8. nlbertram

    Unique combinations

    Hello--- Here is an example of what I am trying to do. I would like to find every unique combination of "Role" as it applies to "Number". For instance, the 3 unique combinations of "Role" in this example would be: -- ABC, DEF, GHI (this combination applies to 100019 & 558990) --...
  9. nlbertram

    Only records 250001-500000

    Lots of good advice. A special thanks to TheAceMan1
  10. nlbertram

    Only records 250001-500000

    Hello-- Please see my current code below. It currently runs the DoWhile loop for ID=1 until ID=250000. I would like to run the DoWhile loop starting at ID=250001 and ending at ID=500000. This needs to be done without altering the SQL. Any ideas? Public Sub fixData() Dim rs As...
  11. nlbertram

    Selecting records with missing values

    I initially tried the straight SQL approach, but ran into performance issues. I am actually working with about 100 fields and 1 million records. I think MS Access was getting hung up due to the sheet volume of data being returned via SQL. Since the VBA approach is only handling one field, MS...
  12. nlbertram

    Selecting records with missing values

    Lots of good help-- Hi MajP I am somewhat of a novice with VBA. I could use some help executing your code. A started by creating a class module. Is there a certain type of form object that I should be using? Thanks again!
  13. nlbertram

    Selecting records with missing values

    Hello--- Here is an example of what I am trying to do. I am trying to select records based on the Number field. I would like to return Row IDs 4-7 when I search for Number = 800004. Row ID Number Name Points 1 100019 CCF RTE 155 2...
  14. nlbertram

    Filling in missing values

    Fantastic! It works great.
  15. nlbertram

    Filling in missing values

    Thanks PHV. I am starting to understand. It seems a subquery will help solve the problem. However, I don't quite see how this creates a new table. Am I missing something? Thanks again
  16. nlbertram

    Filling in missing values

    Hello -- I would like to create a new table by copying an existing table and also fill in some missing values in the new table. Here is an example: Original_table Row ID Number Name Points 1 100019 CCF RTE 155 2 242...

Part and Inventory Search

Back
Top