473,468 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

save all information under a PROJECT

135 New Member
Hello

I have 3 different forms where different users enter information to the same products. i.e. (First the engineer will provide the products, weight, etc, then a costing guy will enter costs, amortization, etc, finally the pricing depatment will enter commercial information, all working on the same products.) These three forms are alredy made and working (ENGINEERING, COSTING and PRICING). I created another form (PROJECTS) where when opening the database the user will select the project and be able work with that specific data.

How do i link or create the relationships so that after selecting/creating a new project all information starts being classified as from THAT project, or do i have to specify for every product (ENGINEERING FORM) the project it belongs to???

please help,
Gilberto
Sep 4 '07 #1
6 1802
Rabbit
12,516 Recognized Expert Moderator MVP
You will have to specify what project every product belongs to. All of it can do done invisibly using VBA code. How you do it depends on your exact circumstances.
Sep 4 '07 #2
Gilberto
135 New Member
You will have to specify what project every product belongs to. All of it can do done invisibly using VBA code. How you do it depends on your exact circumstances.
Thank you for your quick response.

How can i do this invisibly and automatically for every product ONCE i have selected on the oppening form the name of the project??? (could you give me some code please)

Also once this is done, what kind of query do i need so that once you select the project, it will take you only to those previously entered products for further modification, addition, etc.???

thank you again,
gilberto
Sep 5 '07 #3
Rabbit
12,516 Recognized Expert Moderator MVP
The DoCmd.OpenForm function has a filter parameter you can use to only show records that match the criteria. And as for initializing the project name you could do it through a global variable, through the OpenArgs parameter of DoCmd.OpenForm, or even storing it in a table or form.
Sep 5 '07 #4
Rabbit
12,516 Recognized Expert Moderator MVP
Resuscribing .
Sep 5 '07 #5
Gilberto
135 New Member
The DoCmd.OpenForm function has a filter parameter you can use to only show records that match the criteria. And as for initializing the project name you could do it through a global variable, through the OpenArgs parameter of DoCmd.OpenForm, or even storing it in a table or form.
Thanks again. that sounds pretty good however i have not real experience with using CODE. Actually the projects name with their information (description, client, etc.) will be stored at a table.

Could you help me with some code???
The basic idea is that every product (which are stored in the ENGINEERING table) gets classified with a project name (which are stored in the PROJECTS table) once the user select/creates the project on the initial PROJECTS form)

i hope this helps.

thanks,
gilberto
Sep 6 '07 #6
Rabbit
12,516 Recognized Expert Moderator MVP
Form1
cboProject; Combobox; Text
cmdOpen; Command Button

Expand|Select|Wrap|Line Numbers
  1. Private Sub cmdOpen_Click()
  2.    DoCmd.OpenForm "Form2", , , , , , Me.cboProject
  3. End Sub
  4.  
Form2
txtProject; Textbox; Text

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.    Me.txtProject.DefaultValue = Me.OpenArgs
  3. End Sub
  4.  
Sep 6 '07 #7

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

Similar topics

7
by: Niyazi | last post by:
Hi, I developed an application and I am using SQL Server 2000 developer edition. I create my database and I have also created tbl_USER table. I have an ID, RealName, UserName, and UserPassword...
0
by: Kristofer Liljeblad | last post by:
Hi, I've successfully setup my machine to use: sessionState mode="SQLServer". All is up and running so no problems so far. Because I curious person, I started to play around with the two new...
3
by: Stefano | last post by:
I've a form windows with a lot of textbox controls. How can I do if I have to save all text proprety of this controls in an external file, to reload them in future?
2
by: bole2cant | last post by:
I just received my free VB.NET package from MS, and can't figure out how to Save As. I loaded a sample program and made a bunch of changes to it and wanted to save it without overwriting the...
5
by: Matt S. | last post by:
I have been using C# 2005 Express to make class libraries for use in another software program. Each version of this software has a different .NET API, so maintaining multiple solutions of the same...
1
by: Shyam Barnwal | last post by:
Hi sir, Good afternoon, I am working on winamp general purpose pluggin "gen_whatsplaying " project downloaded from the site www.schaffrath.net I compiled and build the project successfully...
4
by: anilareddy | last post by:
Hi all, I have a problem in my project. I have developed a small page like this. Now after the save button is clicked, the data which is entered should be stored in the database. I'm attaching the...
4
by: PhilOwens | last post by:
Hi all, As with all database developments I keep getting more and more requirements piled on me and was hoping that someone could help me out with this one as it is outside my knowledge!!! One...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.