473,383 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Update a Form Field

Hello,

I have a form that has a lot of fields. It is based on a one table. I
have company information and then a description. I have to continually
type in the description and it is a duplication of work because I have
the description written in another table. I want the description field
to be updated automatically so I dont have to keep typing it in for the
particular vendor. I can build a query but it would affect other
reports and forms because I would have to change them too.

Is there some kind of code that will automatically populate the
description field with the description from another table without having
to build something?

I am on OK user of access but dont know VBE.

Thank you,
TJ
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
2 1905
"Tony Johnson" <et*@wt.net> wrote in message
news:3f*********************@news.frii.net...
Hello,

I have a form that has a lot of fields. It is based on a one table. I
have company information and then a description. I have to continually
type in the description and it is a duplication of work because I have
the description written in another table. [snip]


Ok let's stop here. You're close to doing this properly because you have
recognized that you shouldn't have to enter the Company Description
redundantly. What you don't yet see is that you shouldn't even be
*storing* it redundantly. The proper thing to do here is NOT to
automatically make a redundant entry, but rather use a lookup to the second
table so that this entry is eliminated entirely.

All you should be storing about companies in this second table is the
Company key field. All other data *related* to the company should be
retrieved from the lookup table and not redundantly stored in other tables.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
Hello,

This is a late reply but maybe you still are following. You said to
make a look up field for the field that I want to have updated from
another table. I did that and it updated to current data but it does
not update for anything later. Do you happpen to know why it will not
update after making the lookup field in the table?

YOU SAID:
Ok let's stop here. You're close to doing this properly because you have
recognized that you shouldn't have to enter the Company Description
redundantly. What you don't yet see is that you shouldn't even be
*storing* it redundantly. The proper thing to do here is NOT to
automatically make a redundant entry, but rather use a lookup to the
second table so that this entry is eliminated entirely.

All you should be storing about companies in this second table is the
Company key field. All other data *related* to the company should be
retrieved from the lookup table and not redundantly stored in other
tables.

Thank you
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: www | last post by:
Hi there, I' m getting a (0x80040E2F) error, if I submit my form, with blank textboxes to my update stored procedure. The stored procedure expect values, so how can I detect if a form field was...
9
by: William Wisnieski | last post by:
Hello Everyone, Access 2000 I have a main form with a continuous subform. On the main form I have a text field called . It gets populated based on what the user selects in a field on the...
2
by: bravesplace | last post by:
I have a form field on an ASP page and was wondering if I can require the number that is entered to begin with a 0 or a 2. If the number starts with anything else, the user is notified to update...
5
by: bravesplace | last post by:
I have a form field on an ASP page and was wondering if I can require the number that is entered to begin with a 0 or a 2. If the number starts with anything else, the user is notified to update...
4
by: ormor | last post by:
Hi friends, I am new to MS Access. I have desiged a Form wherein I would like to update the field based on some calculation derived from the previous fields. How this can be done. I want...
7
by: Colleen | last post by:
Hello All, I have a table for my employee data. I have a field that generates date before update of latest changes made. I also have two fields within called CreatedBy and UpdatedBy. I would...
1
by: Michael McGrew | last post by:
I have a asp form that has a dynamic drop-down box that a user selects a value from. Once the user makes a selection I use the onChange event to capture the selection and pass this value to a...
17
by: cmcdermo | last post by:
Ok my first post here so sorry if i mess something up. I have to edit a page that uses some javascript and not sure really. At the moment a user clicks on a button saying "black and white" and...
6
by: wellsfargouser | last post by:
Hey everyone, this is driving me crazy. I have a table which lists all the files users have on the server. This table is called risklist. It lists the pathname and size. The goal is to make a form...
9
by: Brett_A | last post by:
I have a form where the first field is a dynamic drop-down that pulls from a db (Access). The fields associated with the query are task_id, task_name and task_rate. The field has the value of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.