helpaccess
Registered User.
- Local time
- Today, 03:32
- Joined
- Sep 25, 2009
- Messages
- 20
When in the form I have the code box highlighted and then I cliked on change to and changed to a combo box. Now I cliked on the properites where do I go from here.
Ok here is what I have for the row source: SELECT [TBL_Travel Team code].[Main Code], [TBL_Travel Team code].[TT Name (Location)] FROM [TBL_Travel Team code];
But when I go back to the form only the Main code is there. I change the code to main code.
Here is what I have for the subcode. ELECT [TBL_Travel Team code].Subcode FROM [TBL_Travel Team code]; But when I go to the subcode I see every entry and I only won't to see it once.
Plus when I go to make the Main code my prim key it won't let mw save it. View attachment 29373
I have attached the data base with no links.
Again thanks for your help.
I dont see any field in the Incentive table that relates to an expense. What field are you trying to include as an expense?How do I take two queries (QRY_Incentive Bouns Pay) and (QRY_Expense tracking) combind into one query to show only the expense. will need to to see on line for each person per travel team.
I dunno about having to start from scratch, but restructuring your tables should be the first priority. Me, personally, I would create a new database, construct the tables properly, then link the tables from your old db into the new one. I would then use Append queries to get the data into their proper tables.Will I have to start over?
As long as you know what the forumulas are (and if you save a copy of the current db) you can recreate them in the new database.On some of my queries I have formulas. How do I get them too a table?
What can have multiple teams per year?Yes I am tracking expense by adjuster by travel team. They could have multipal teams per year.
Here are the ones that are formulas in the two queries
Expense:
# days
# weeks
Meals/day
weekly salaries
ot cost
hotel cost
mileage rate
on the incentive pay
OT hours
bouns amount
OT adjustment owed
final TT pay
I would like to see all the expense and the final TT pay in one
Question,
I am creating the new data base with the tables you suggested. I have some question. On the employee table. All the information is stored in a master table that is linked. Should I create my own?
Also how do I create the foreign key and link it to the team data? Do I need to create a team data table also.
![]()