473,586 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with an equipment list data base

17 New Member
Hi there,
I'm creating an equipment database and have ran into some problems creating it. This is an Engineering oriented Database
MS Access 2010
Here is the basic idea of how I want it to pan out.
Design:

- Users enter a main menu where they have the option of creating a new project, or selecting an existing project and viewing/printing/editing information in that project - I've created the button that leads to a form where I can create a new, all is left (I believe) is just making this work perfectly

- Once the user has selected the project (combo box to select project and press button to go next) A page shall appear that will display ALL Project information for ONLY the specific project that was chosen. On this page I want there to be another button that will lead to an "equipment list" which is specific for this project only. Eventually the user should be able to add/edit/delete data, search for data etc (all the normal functions that a database should have)

Questions: How do I make the next form/report portray the specific data for only that ONE project, and have other buttons on it? At the moment I've only been able to make it bring up another form that allows the user to input data into fields, but not actually display data and then have other buttons/options on there.

Please ask any questions that you wish to grasp a more appropriate understanding of what I'm trying to do, if I haven't explained myself well enough.

Many thanks
Jan 29 '15 #1
8 1251
Seth Schrock
2,965 Recognized Expert Specialist
You can only ask one question per thread. Please read the forum's FAQ for posting guidelines and then post each question in a separate thread.
Jan 29 '15 #2
jforbes
1,107 Recognized Expert Top Contributor
Hello Lavely,

As Seth has mentioned, there is a one question per thread. So to answer your first question, you might want to use the function provided at Locking Bound Controls One thing to note on using this code (which works great) is that if you switch to Form editing and then save a Form, after the code has locked down some controls, the controls will be saved as locked. It's not a big deal, you will just need to address this on any Form that uses this code by ensuring the Lock Down code (or unlock) is executed on Form Load.
Jan 29 '15 #3
lavey
17 New Member
Hey guys,

Sorry but I've read the FAQ's twice now and can't see anywhere that it specifically says only one question per thread, but my bad.
I have edited the original post to include only one question that is of priority at the moment.

Thanks
Jan 30 '15 #4
Seth Schrock
2,965 Recognized Expert Specialist
I think that the easiest way to do this would be to specify the WhereCondition property of the DoCmd.OpenForm & DoCmd.OpenRepor t commands.
Jan 30 '15 #5
lavey
17 New Member
Hi Seth,

So I tried writing this expression into a macro's expression builder under the where condition but its saying that it has an invalid value.

DoCmd.OpenForm "Project Details",,,"p_P rojectNumber ="" & Me.Command20.Co lumn(1) &""

Pretty sketchy on this type of stuff so still getting my head around it. Any chance you would know how I could fix this problem?

Thanks
Jan 30 '15 #6
Seth Schrock
2,965 Recognized Expert Specialist
That is VBA code, not a macro. I don't use macros so I'm not sure the syntax for them.
Jan 30 '15 #7
lavey
17 New Member
well in that case I'll use it as VBA (may as well learn it)

Private Sub Command21_Click ()

DoCmd.OpenForm "Project Details", , , "p_ProjectNumbe r ="" & Me.CmbProject". Column(0)&"""

End Sub


Syntax error occurs whilst compiling. I had the Command21 in place of the CmbProject, however that just brought up the Project Details form with blank entries (no data from the selected option in combo box)

Edit: I got it working to display the corresponding project, thanks.

Now for a next question: (am I allowed in this same thread?)

- When the user has selected his project and is now linked to this next form, I want there to be a "Equipment list" button which leads to an equipment list. I have imported an equipment list from excel and created a form etc. How will I be able to make it for that equipment list to be populated specifically for just that one project?
example: I select project number S111 and then click on an equipment list which will lead to a split form where I can populate the equipment list. But then I want to go back to main menu and select project number S888 and then go on to populate the equipment list for that project. However the data in this equipment list is isolated just to this project number. Will I need to create separate tables per project or is there some simple method?.. sorry hard to explain this one

Thanks
Jan 30 '15 #8
Seth Schrock
2,965 Recognized Expert Specialist
The next question needs to be in the new thread. The reason being that it makes it easier for the next person with a similar problem to be able to search and find the answer.
Jan 30 '15 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1431
by: jim west via SQLMonster.com | last post by:
I have website problems with mySQL data base, I have a website and was told the only way to change my password is within my SQL data base files and that it would be over my head buy the site maker, How can I do this ? I know my password now but it was changed today my the web site maker, I have had problems with someone blackmailing me for...
0
1016
by: CPS | last post by:
I need some help building a data base/application for storing information. I am using my sql as a sever application.. Email me if you can help me out on this project and I will explain further.. I do appreciate all that reply.
5
2344
by: Will | last post by:
- I know enough ASP and Access to be dangerous :) - I need to put up a data base on our web server with 3 related tables. - They will be accessed by a limited number of people. - Each user will have to "log on" with a username and password and only have access to their records. - Their will be a main table with two associated tables... -...
3
2629
by: nandhanvijay | last post by:
hi every am trying to connect data base in vb.net but am unable to connect. As per the book am following that says to connect to data base go to tools menu connect to data base option. u will get data link property . But am not getting that . Am getting add connection from which i can able to select the data base like oracle or sql but not...
3
1250
kaleeswaran
by: kaleeswaran | last post by:
hi! i am going to display list of 200 titles in my drop down box.it is from data base and show it over the jsp page.so each time i open the page then the drop down box value also loaded again and again.so what is my idea is it should be loaded once and have to select the particular thing that will be going to affect the sever...can i do that...
0
1702
by: apwuhp | last post by:
We have used a data replication product that has replicated our production data base to another server, both servers are AIX 5.3 operating system and IBM DB2 data bases. The product replicates at the logical volume level and that part works fine. The problem is, the system, that was the target system, that received the replicated production...
1
1712
by: gerryis2000 | last post by:
Hi, kindly guide me on how to solve this security problem. i set a passord to the data base and seems to work well. but since several people use the data base and know the passord, i think its risky. infact because i cant hide tables or data base forms using these option. 2. i decided to use user level security wizard and it looked like the...
2
14902
Ahsan Ali
by: Ahsan Ali | last post by:
How to make a class data base using multi linked list data structures(in C)?. In class's Database : one column for 'Subjects' and other one for 'student's Roll Nos' . Now the task is to point 'subject' to the respective 'student'... I know single and double linked list ... But I have never worked with 2-D linked list. Please anyone help me out?
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.