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. elinorigb

    Results drawn from a list box

    I am working with a form that includes a subform. The main form includes individual member information. The subform assigns the individual to a variety of committees. Within the subform, one field is a list box to select which committee(s) to assign the member to. The subform will be a...
  2. elinorigb

    Need a quick way to change ID fields - Update Query?

    Thanks for the suggestion. Once I figure out the Access bracketing, maybe I can test it. Right now I can't get past the syntax errors. A couple of years ago I was used to the bracketing SQL in Access for SELECT statements, but I'm rusty now and have never worked much with UPDATE queries in...
  3. elinorigb

    Need a quick way to change ID fields - Update Query?

    Happy to share it: UPDATE [Table2] SET [Table2].Table1OldID = Table1.NewID WHERE ((([Table1.OldID=Table2.Table1OldID])<>False)); Let me know if you have question. Again, I get no syntax errors, just the error when I try to run the query. Thanks!
  4. elinorigb

    Need a quick way to change ID fields - Update Query?

    Thank you for your suggestion. It made sense to me and I was able to set up the query as an update query just fine with no syntax errors. However, I keep getting the following error message: Query1 is not a valid name. Make sure that it does not include invalid characters or punctuation and...
  5. elinorigb

    Need a quick way to change ID fields - Update Query?

    I need a quick way to change the corresponding data in Table2 to new values that have come into existence for my Table1. With all that these tables have been through (see below if you want the whole story), the data value for my primary keys in each table was simply set for "number" instead of...
  6. elinorigb

    how to get rid of default messages when running queries

    Hi Again, This is probably simple, but maybe not. I have some buttons on several forms that run some macros. These macros, in turn, run various update or append queries. While these macros and queries are running, I get several messages, something like "You are about to modify...
  7. elinorigb

    Aggregate SUM on two different fields- IS there a better way?

    Ah, its so simple. Thanks for that post. I changed those sum queries accordingly. As for the output of qry3, i just want one number, that is, the sum of qryBook2 and qryPopular2. I can probably figure that out, but i'm open to suggestions. thanks again for the help!
  8. elinorigb

    Aggregate SUM on two different fields- IS there a better way?

    Its taken me awhile to respond. Sorry about that. The fields are in the same table. In the first queries, I have to count the data, since it is based on non-numeric entries. Then I'm able to SUM the counted data. I'll include the other queries below. There are quite a few of them, which is...
  9. elinorigb

    Aggregate SUM on two different fields- IS there a better way?

    Hi, I'm trying to combine two separate fields into one SUM. Right now I'm taking one approach that works, though it seems to involve more steps than necessary. I'll call the fields Data1 and Data2. I have individual queries that count all of the instances of Data1 and Data2. Once the...
  10. elinorigb

    I need to round up a percentage calculated in a query

    Hi, I have a query that calculates percentages for a group of employees, grouped by department. The goal was to have results that looked something like this: # Employees DEPT Percentage of Respondents 228 Operations 28.78 215 Corporate...
  11. elinorigb

    Count, Sum, Aggregate Questions

    Thanks for that feedback. I'll keep that bug in mind.
  12. elinorigb

    Query Problem

    I'm assuming that you're using some type of user input in your query? It may be a matter of using wildcards in your search. In the query design view, under your fields for Status and Type, you could include this type of statement: Like [Enter the doc status:] & "*" and a similar statement...
  13. elinorigb

    Count, Sum, Aggregate Questions

    I am not sure how to title this question; I've found a way to do this, but I'm wondering if there's a better way. I've developed a database from a survey taken where I work. Many of the questions involved a drop down menu, ie. "How often do you order supplies?" with choices such as once a...
  14. elinorigb

    append query using checkbox field

    That's it! So simple that, of course I would overlook it. Sometimes I can't get used to the way Access complicates things. Thanks again!
  15. elinorigb

    append query using checkbox field

    I'm trying to run an append query that will add multiple books to a single record. The single record comes from Table1, the records for books are located in Table2, and Table3 basically links Table1 and Table2 together. For the purposes of the query, I'm not using Table2 (the books table)...

Part and Inventory Search

Back
Top