Search results

  1. S

    Question What is the simplest method to export a Report to Excel file in Access 2007?

    I am converting an old database that was from Access 2002 to Access 2007. Everything has gone well and I'm at the final point. The problem I have run into is with a function in VBA that is no longer valid in Access 2007. It is something like this: Select Case ReportName Case "Report1"...
  2. S

    Question Trouble with multiple-primary-key tables and relationships...

    I have a database that has different types of insurance plans listed in a datasheet, and each plan can have a combination of different plan category, plan type, coverage type. But I want each plan to be unique, so there aren't two plans with all three fields having an identical value. Here is...
  3. S

    Trying to delete record from listbox and it doesn't work...

    I have a form that shows all user accounts available in the program. The users are listed in a listbox control named "lstUsers", which has it's record source value set to gather records from tblUsers There is a button on this form named "cmdDeleteUser" and when it is clicked, it should delete...
  4. S

    Translating SQL server query to Access SQL query

    I'm converting an old database to an Access program and there are a bunch of SQL queries that need to be imported into Access. I'm no SQL expert but I can create simple queries. The old program used an SQL server and here is an example SQL query it used: set ANSI_NULLS ON set QUOTED_IDENTIFIER...
  5. S

    Creating new layout for tables and need advice...

    I'm converting an old access database to a new one and I have imported some tables. The old database had just one table for insurance plans, named "tblPlan". It had compound primary keys in which the set of the three fields (PlanType, PlanCategory, CoverageType) had to be unique. I want to do...
  6. S

    Data entry form saves new record even with no input...

    I have a data entry form called "frmAddDependant" and it is opened with a button with the VB code line: DoCmd.OpenForm "frmAddDependant", , , , acFormAdd, , Me.ID Well, "frmAddDependant" then opens and I can add the new entry and it shows up as a new record in the appropriate table. The...
  7. S

    Opening a form with a recordsource based on multiple fields...

    I have a form in my application named "frmWorkHistoryDetails", and it is opened when viewing an employee's information in "frmEmployeeInfo" and clicking on a "Details" button in subform "sfrmWorkHistoryList". The form "frmWorkHistoryDetails" needs to know what record to find in a query based...
  8. S

    Question What is the best way to display multiple fields from multiple tables?

    I have a form that has to show an employee's work history details. There are many details it must display so it has a couple tabs on the form. The name of this form is "frmEmployeeWHInfo". To get to this form, the user double-clicks on an employee's name on ListBox control on a form called...
  9. S

    Solved Importing tables into new database and automatically formatting...

    I'm working on a new Access program and I have recieved a bunch of tables from the programmer that worked on the previous version of the program. Some of the tables contain the Social Security numbers in a column and the SSN is formatted in a different way than the way it is in my program. His...
  10. S

    Updating forms after data entry on another form

    I have a form that shows employee details (frmEmpDetails) and it has a subform that shows a list of dependants (sfrmDependants), there is a button on frmEmpDetails, (cmdAddDependant) that when clicked, opens a new form (frmAddDependant), but frmEmpDetails stays open in the background. Once...
  11. S

    Limiting repeating rows in a listbox

    I have a listbox that is unbound. I have set the rowsource property to a query which is: SELECT tblCompanyPlans.PlanCategory FROM tblCompanyPlans ORDER BY tblCompanyPlans.PlanCategory; The tblCompanyPlans table has three fields: PlanCategory PlanType CoverageType There are multiple rows in...
  12. S

    New guy here, need help with controls on a form...

    I have been learning Access 2007 for about two weeks now and I'm trying to copy a program for my business. We had an old Access 97 database and we lost it when there was a hard drive failure. All we have are recollections from memory and some screenshot prints of what the program looked like. I...
Back
Top Bottom