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 bkrike 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: *

  • Users: platypus71
  • Content: Threads
  • Order by date
  1. platypus71

    Counting Unique records, multiple fields

    I think my answer is to use multiple queries or a report, but figured I'd ask the experts before giving up on the single-query idea. I have a table that has 11 fields in it. Field1 is used for grouping. Fields 2-11 are called "Level 1", "Level 2", "Level 3", etc. What I am trying to do is...
  2. platypus71

    Need help with Recordsets and moving through them

    Okay, a while back I was able to use code to send automated emails. This code works wonderfully for what we are doing. Unfortunately, we've expanded our needs and now I need a more complex email. What I am trying to do: sqlstr2 generates a list of each person that we need to send an email...
  3. platypus71

    Trying to output multiple XLS files from a query

    What I am trying to accomplish is creating XLS files based on the field [Reporting Level3]. All records will have a value in this field (something like "Doe,John Q.") and there are a total possibility of roughly 10. I want 10 files with each file including only those records. I really don't...
  4. platypus71

    SubForm not updating after selecting from Form's combobox

    I know I am missing something simple here, but I can't seem to put my finger on it. I have a form with a combobox. When a user selects from the list in the combobox, it should refresh the subform data to limit the results to the selection from the combobox. If I hit <shift>-F9, the subform...
  5. platypus71

    Splitting a field based on another field

    I have a query that has the following fields: Name TestType Count(tblAnswerKey.QID) AS QsRight Is it possible to create two new fields, within this query, that are the contents of the 'QsRight' field based on TestType (there are only two test types). In otherwords, I want pre-QsRight and...
  6. platypus71

    Trying to create .XLS based on field

    I haven't a clue how to do this, if it is even possible. I have an existing query that generates a large report. This report then gets split into smaller files based on the field [Reporting Level3]. If it is possible, how would one go about creating the various .XLS files based on the results...
  7. platypus71

    Auto-grade tests in Access

    I have two tables. Table1 is tblAnswerKey It has the fields ClassName, NumQs, A1, A2, A3-A20. The data in this table is each Class with an online test, the number of questions on that test, and then the approrpiate answer for each question in fields A1-A20 (or however many questions are on the...
  8. platypus71

    Need help with email VBA

    I have a Function SendEmail(strTo, strMessage, strAttach, strSubject, strBCC) defined and works just fine. I have previously created functions that ran against the SendEmail function and they have worked just fine. I have since written the following Function and am getting an error and don't...
  9. platypus71

    Update query not working

    I have a table with the following fields: FieldName:Data Type Emp#:Number OrigCourseComplete:Yes/No NewCourseComplete:Yes/No DateAdded:Date/Time I am trying to make an update query that will "check the box" in NewCourseComplete if it meets the necessary criteria. Here is what I have, but it...
  10. platypus71

    Need combobox selection to update to another table

    I have a form with a combobox in it that works as expected. I can select a record from the box and the drop-down goes away. I have created a button next to the box that I want to append the record from the drop-down box to a new table, but can't seem to make it only send a single record...
  11. platypus71

    Importing data from multiple spreadsheets into a single table

    Ok, I searched for posts and found very little actual code to give me an idea on how to do this. I have several spreadsheets, all with different names, all will be generated multiple times and have new names each time. All spreadsheets have the same column headers and columns. I need a way to...
  12. platypus71

    Need help writing info from one DB to another DB

    I've got a working function that obtains the values necessary for this within the following: Set rst = mydb.OpenRecordset(sqlstr) I know this works as the function works. Now I find out I need to write into a new table several of these values for tracking purposes. Since this function will be...
  13. platypus71

    Sending email based on the field in a form

    Hi there, Recently, I had some help with generating emails from my database. Now that I have tested and played around with the previous email, I've run into a new hands-tied problem. I need to run the email code against Status = "Attended" and EventID is equal to the current EventID on the...
  14. platypus71

    Emailing from a Access Module using variables

    Okay, I looked through the forums and I'm left scratching my head in confusion. I've never written any VB script and have had very little exposure to it. Here is what I want to accomplish: Send email to anyone listed as having a class tomorrow. I've setup a Query that takes the three tables...
  15. platypus71

    Problem with a macro/form combo

    I know I should probably scrap this macro and write the VB code, but I was hoping not to have to do that. Here is the problem: I have a form called OriginalForm with a button and a field called "EventID" (and other stuff that is not relevant here). When you click the button, it executes a...
  16. platypus71

    Help with Delete Query

    I am having problems with a query. When I run my query in View mode, it reports exactly what I want to delete. When I run it in delete mode, it says it can't delete and recommends I don't have access to do that, but I do. Here is my SQL of the query. Am I trying to do something Access isn't...
  17. platypus71

    Weird error

    I have a macro that is causing me some headaches. The macro is accessed by pressing a button on a form. The form contains a subform which has data from Table1. At the bottom of the form are some data fields with data from Table2. Here is the macro: OpenQuery Query1 (updates Table1) OpenQuery...
  18. platypus71

    Using forms

    I have never done a form before and have been asked to set one up. I figured, complex queries are pretty easy, how hard can a form be? Riiiiight. Here is what I have to work with: Table with 20 fields. Important ones for this question are Name, Month, and Date. No fields are unique in the...
  19. platypus71

    Having problems creating a new table

    I inherited an Access DB with tons and tons of stuff in it already, so I am still figuring out what everything is and does. Here is one of the current problems I am looking in to: I have a query that brings up all of the information I want written into a new table. One of the fields is a MEMO...

Part and Inventory Search

Back
Top