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 Mike Lewis 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. SetBuilder

    Showing unmatched records using a query

    Exactly right! I built two queries, both swampboogies way, and my way. My way took about 3 minutes comparing 11,000 records on table A with about 10,000 records on table B. Swampboogie's way took about 2 seconds, if that. I was going to send an email stating that, but got busy fixing my...
  2. SetBuilder

    Showing unmatched records using a query

    Thanks. That got it. After looking at your solution, I was directed to another solution that also gave me the same number of rows using a subquery, using the Access "Not Exist" predicate: SELECT c1 FROM a WHERE Not Exists (select * from b where a.c1 = b.c1); Thanks again. It is...
  3. SetBuilder

    Showing unmatched records using a query

    How do I write a query in Access that will show what records are on table "A" and not on table "B"? For example: Table A Table B 1 2 2 3 3 4 4 5...
  4. SetBuilder

    Strip trailing blanks in a field

    Exactly! Thanks.
  5. SetBuilder

    Strip trailing blanks in a field

    Thank you. That worked. Now I have a related problem, going the other way. One field is 25 characters and the other is 50. How do I pad a field to be a total of 25 characters. (I don't know how long the field actually is, but I want to make it exactly 25 characters). I could determine the...
  6. SetBuilder

    Strip trailing blanks in a field

    I have 2 tables (Bill of Materials) in Access. Field1 in TableA is 50 characters long, Field1 in TableB is 25 characters long. I am trying to match field1 in tableA to field1 in tableB. If I use the ADOX command .find, I can't get a match. They do match if I use a query, but I am trying to...
  7. SetBuilder

    Access 97 to Access 2k and querydefs

    Thanks. I remember now. It has been so long since I did a conversion from 97.
  8. SetBuilder

    Access 97 to Access 2k and querydefs

    Is there some issue I should be aware of when converting Access 97 databases to Access 2k or XP that have querydefs? I am getting an error in the conversion that says "user defined type not defined" Thanks
  9. SetBuilder

    select words between two points

    Thank you so much. It does exactly what I want. The code should find the next incidence of "(", highlight the words between that and the next ")" and italicize them. Works like a charm. Gold star for you. Thanks for taking the time. Matt
  10. SetBuilder

    select words between two points

    In, VB, how can I select a variable number of words between two points. What I want to do is select the parenthesis and everything in between in order to italizize it. So, (the quick brown fox) becomes (the quick brown fox) italized. I know how to search for the the first "(" and...
  11. SetBuilder

    Text Import from Excel comes in as scientific notation

    I never got an answer until your, (7 months later) so I also figured out a "work around" by putting an apostrophy in front of the serial number. I wrote a quick macro for the user to fix the fields after the data is inputted, and before it is exported to Access: For x = 2 To intLimit...
  12. SetBuilder

    Updating status bar text from underlying table

    No, this is not really practical. There are 1300 fields in 8 different tables, and about 10 different forms, so there are lots of fields on a form. I guess the best way is to loop through the field collection on the form and look up the field name on the table and pick off the description...
  13. SetBuilder

    Updating status bar text from underlying table

    I have a form that has a bunch of fields on it. When it was originally created, there was no value in the underlying table's "Field description" property. Now there is. Is there a way to programatically update each field on the form without looping through the field collection on...
  14. SetBuilder

    How can I name a field using a string in ADOX Table Create

    Thanks for the try, but neither worked. My guess is that the "field", surounded by the quotes, ends that portion of the statement, and it does not know what to do with the 2nd portion that follows the & sign. I also tried 3, and 4 double quotes, none of which worked. However, here...
  15. SetBuilder

    How can I name a field using a string in ADOX Table Create

    I want to create a table with, say 99 fields. I don't know how many fields, but it will vary with the table I am creating. Field names are not important in this instance, so I want to name them "Field01" "Field02" ... "Field99" etc. (ADOX format:) I tried this...
  16. SetBuilder

    Text Import from Excel comes in as scientific notation

    When I use the transferspreadsheet command to import an Excel spreadsheet, one of the text fields (Course-ID) comes in as a scientific notated field. For example, 20012911 comes in as 2.001291+07. when I convert that back to a string, as: strCourseID = str(vFieldIn1) I get: 20012900, loosing...
  17. SetBuilder

    HowTo Link Table With VBA Code ?

    The way I do this, is first do it using a query, and the query builder. Then click on view, and then SQL. That will give you the sql code to create the relationship.
  18. SetBuilder

    Open Excel Application, help please.

    I don't know if you have this solved, but when I open a new instance of Excel from Access, I close it using the following command: objXL.Application.Quit Here is some code that opens a template, runs an Access query (rs), creates a worksheet in the template, populates the worksheet and...
  19. SetBuilder

    Access97 on Windows 2000 with Terminal Server

    Access 97 and Access 2000 don't co-exist ver well, even when installed in different directories. I have found lots of problems with code not working if I am running 97 and 2000. They're not specific either. Sometimes it is a runtime error, other times it is a query that doesn't get all of the...
  20. SetBuilder

    Howto import an ODBC Table ?

    Why do you want to &quot;import&quot; it? Perhaps you should just link it. That way, it will stay refreshed and not violate a fundamental principal of data: &quot;Data should not exist in two places at the same time. If they do, they are <guaranteed> to be different.&quot;

Part and Inventory Search

Back
Top