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 Chriss Miller 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: Aximboy
  • Content: Threads
  • Order by date
  1. Aximboy

    How do I reference a control in an active subform?

    I know this is how to reference a control in an active parent form. Forms([Screen].[ActiveForm].[Name])!txtFirstName.Visible = False But how do I reference a control in an subform of that active parent form? TIA
  2. Aximboy

    carry previous data within a criteria

    I have a query question. I have a table with Patient Name, Date of Visit, and Flu, MMR & Polio vaccinations. The flu vaccine is good for 1 year only. MMR vaccine is good for 2 years. Polio is good for 3 years. How do I create a query to show example#2? example#1 Here's what I have.... ID...
  3. Aximboy

    How to wait for record count before copy

    I have a Form1 with a command button that opens Form2. Form2 displays the record count in the form footer. Then I have a code that copies the record count on Form2 back to a textbox in Form1. My problem is, Access copies the record count right away before the Form2 even calculates the record...
  4. Aximboy

    Change SQL property of saved query

    I am using this Change SQL property of saved query (DAO) function by Mr. dhookom (faq701-7433) on my form. However the new strSQL won't load until after I reopen the form the second time around. Any idea why it isn't loading the first time? Or is there a work around on this? I am using Access...
  5. Aximboy

    Data type mismatch

    I have a query. In one of the fields I have this expression… Expr1: IIf(InStr([FieldName],"(")=0,[ FieldName],Left([FieldName],InStr([FieldName],"(")-1)) Then on the criteria, I have… Like [Forms]![FormName]![txtFieldName] But when I run it I get an error “Data type mismatch in criteria...
  6. Aximboy

    How do I change a table name from a query using VBA?

    I need to run a report based on the selected year on the form. I have 5 tables with different years worth of data; (I know this is a bad idea but this is what my manager wants) tblYear2011 tblYear2012 tblYear2013 tblYear2014 tblYear2015 I also have a form with combobox where a user can...
  7. Aximboy

    Find the latest records on duplicate tables

    I have created an access database in a shared drive so that employees can enter their production data, and the bosses to view the report. One of the employee drag and drop this access file to his folder on his computer creating a duplicate database. He has entered over a thousand new record on...
  8. Aximboy

    Not recognizing as a valid expression?

    I have a query that filters the years based on a form input. Here is how the filter looks like: WHERE (((Format([Request Date],"yyyy"))=[Forms]![frmStatus]![txtStatusYear])); When I click Run... The query runs fine. The union query runs fine. However, the crosstab query gives me an error. It...
  9. Aximboy

    How do I create a query for...

    I need to create a report that shows the monthly total per column. For example, these are the records from a table: ID Payment Date Payment Method Coupon Mailed Date Responded Turnaround Time 1 02/01/2014 Cash 03/01/2014 05/12/2014 73 2 02/15/2014 Credit 02/25/2014 03/01/2014 5 3...
  10. Aximboy

    How to create a weekly query with totals from 2 date columns?

    I have a table with 3 columns, ID, LogIn and LogOut. How do I create a querry with 3 columns grouped weekly with Login totals and Logout totals for that week. Example: DateTable ID LogIn LogOut 1 01/01/2014 01/01/2014 2 01/10/2014 01/27/2014 3 01/10/2014 01/30/2014 4 01/13/2014 01/23/2014 5...
  11. Aximboy

    How to get first and last word in a field

    Hello! As the title said, I need help on how to get the first and last word from a field. For example, a field contains a contact name "Mr. John Lennon". From a textbox, how to I make it show "Mr. Lennon" only? Thanks in advance.
  12. Aximboy

    Cannot select a combobox from a subform

    I have 2 tables, tblEmployees and tblManagers I have a main form which contains Employees name & info and a subform with Managers name & info. From time to time employees get switched around from different managers. So from the subform I have a combobox that I can select the managers name and...
  13. Aximboy

    How to create an add & delete trigger in subform

    Hello! Here's what I have... I have a form with all the client's info (address, telephone, etc) and a subform which contains contract number, approval date, termination date, etc in a continuous form view. I want Access to automatically send an email whenever a user adds or deletes a record in...
  14. Aximboy

    Copy previous records?

    How do you copy all previous records of a subform to a new record? I need to create in inventory database of our laboratory equipment. It should list all equipments we have every 3 months. I was thinking, I'm going to create the first table for the entry date or the date of the inventory, and...
  15. Aximboy

    How to query 2 years from 1 field into a single record?

    I have a table with CustomerName, YearSampled, and TestResult fields. How do I create a query that shows 2009 vs 2010 TestResults per Customer? I am planning to create a report that shows 3 columns, CustomerName, 2009 TestResult & 2010 TestResult. Thank you in advance.
  16. Aximboy

    Percentage query.

    How do you get a percentage of an item compare to another item on the same table? Example: I have a table of pizza ingredients with ingredients and gallon fields.         Ingredients    Gallon         cheese             10         pizza sauce     25         mushroom        5 How can I...
  17. Aximboy

    How to log email from Access 2007

      I have a button on my form that sends & attaches a report to an email. How do I create a log (with automatic entry) of when an email was sent, and if possible to whom it was sent. Please help, thanks.
  18. Aximboy

    Vertical records?

    Is it possible to create vertical records on details area? What I mean is, instead of new records appearing under the previous records, it would show on the right side of the previous records. Instead of in rows, it should be in columns. If so, kindly show me how please ;) TIA
  19. Aximboy

    How to delete record with #Error

    I have a #Error on every fields of my record. When I try to delete the record it says "Invalid argument". How do I delete this particular record?
  20. Aximboy

    Help with query!

    I have a table with Patient's Name, Year Visited, Check-up, Laboratory, X-ray, Dental & Vision columns. Check-up, Laboratory & X-ray exams are done every year. Dental and Vision exams are done every three years. I want to create a report where it will tell the user which test are not done...

Part and Inventory Search

Back
Top