John W. Vinson said:
Just bear in mind that a well-designed spreadsheet could be a very poorly
designed table (and vice versa for that matter).
Again... jargon. You 'created forms as an interface to the tables'. The phrase
"tables were created into forms" is meaningless!
Sorry. That's not what I meant. I select fields from the tables using the
Form Wizard to create the form.
Please explain. Where is this number kept? What is its significance? Under
what circumstance do you want it to increment?
Not sure how to capture this. Client wants specialized number related to
specific category to be tied to each new Report record. So, if category is
Headcount, the associated "category number" is 600. If new report is
classified as a "headcount" report, it would be given a number of 601, next
headcount report, 602, etc.
You have a form for each table. The tables are not forms.
Correct. Learning...
Normally one would have a form with one or more subforms, but I still don't
understand how your tables are related.
ReportsLst table has a many to one relatonship to the Category and Schedule
tables. Customers_Reports table has a many to one the ReportsLst and Employee
tables.
What's the SQL? (I can't see it from here and it would really help!)
SELECT DISTINCTROW Customers_Reports.CustomerID, Employees.PID, Customers_Reports.ScheduleDt, Customers_Reports.ReportsLstID
FROM Employees INNER JOIN Customers_Reports ON Employees.CustomerID =
Customers_Reports.CustomerID;
NO. Again, you're mixing up forms with tables! Tables have relationships to
each other; Forms cannot be "related" to tables.
Correct. Customers_Reports table is related to Employees table by CustomerID
What fields are you trying to autopopulate? Are you trying to copy data
(names??) from one table into another table? If so... don't. Instead, you
would store each piece of information once, and once only, and then link to
it.
I want to autopopulate the name, schedule date, employee PID and location area to show on the ReportsLst subform
I'd suggest that you post more information about the names, primary key
fields, names of the other fields (at least the key ones), and relationships
between the tables;
Primary keys are ReportsLstID, CustomerID, CategoryID, ScheduleID and
Customers_ReportsID
and how you're doing the Excel import.
I would select Import from the Access database and then browse to the file
folder where the Excel file is stored.
Samples of the
Excel data might be helpful.
An existing Report list (so as to not start from scratch for new database)
This is true for Schedule dates as well. For the most part, the Employees
file is the only file that I will need to continue to import to include the
most current information. (not sure if this is best approach to update
database)
Hope this is helplful. I appreciate your patience and deligence in
providing this support.