Oops on the lookup fields Steve... by data entry I just meant typing in all of my assets. Unless I can just copy and paste from the old master db which would be much simpler. Should I do that or wait until I build my forms?
Oops on the lookup fields Steve... by data entry I just meant typing in all of my assets. Unless I can just copy and paste from the old master db which would be much simpler. Should I do that or wait until I build my forms?
Copy/paste is possible. So is import with import/export wizard.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Hows this?
You have the Dept PK in both Customer table and AssetTracking table. You have possibility of having the customer in dept assigned to N00, but in AssetTracking the check in/out record for dept could be N4. Does that matter? I would have the DeptID_FK field in one or the other table, probably in AssetTracking. Do you need to track or does it matter the history of which dept a customer has been assigned?
What happened to the check in/out date & time fields in table AssetTracking?
As June said, importing is probably the easiest.
In the attached dB, I added an example form for editing/updating Assets.
Why is DeptID_FK in both tblCustomers and tblAssetTracking? Possible circular reference http://www.codeproject.com/Articles/...atabase-Design
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Ok that is starting to make more sense. I deleted the DeptID_FK field from the tblCustomers and left it on the tblAssetTracking. How did you go about making the form though? I've tried to make something that I wanted through trial and error and haven't received any positive results. Would using the form wizard be my best option? I think I accidently deleted the time fields when I was changing some stuff around but will add them in now. Thanks
I don't use the design wizards. They do stuff I don't like, such as 'grouping' controls into 'layout' groups. But it is easy enough to eliminate them. Select all the controls and right click > Layout > Remove. Now can easier resize and move controls at will.
What is not positive about forms you built?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
It seems that I always pick the wrong field and I'm not sure if I can mix and match fields from one table or the other. I would like to make a form that allows me to check assets out to customers.
The Lending Library has good example of that.
A form normally can enter/edit data for one table. Why would you need to 'mix and match'?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I guess that is why the tblDept was included in the tblAssetTracking vice tblCustomer....
I really liked the layout and functionality of the lending library template but there was a lot of stuff I wanted to take out and or modify which would always stop the template from working properly.
So use it as guide to build your own. Get familiar with the structure and code and adapt what is relevant.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I agree with June. The best way to learn is to reverse engineer a template. (lots of templates - I have)
I had a few minutes, so I added a couple of things to your dB to help you get you started. You still need to add data to the tables and create forms to add/edit the tables.
Wow Steve... Exactly what I need! Can you PM with some steps on how you accomplished this? I also need to have the asset serial number displayed in the Check_In_Out form but I'll try and figure that one out for myself.