473,394 Members | 2,071 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,394 software developers and data experts.

Automatically Updated/Populated Fields

I have a database that I have a user enter "Unit" type information (drop down menu). I need to have 2 other fields - "SKU" & "Unit to Ship" - automatically enter data based on what the user has entered in "Unit":

User Enters - K1 Black in "Unit"

Database enters automatically - N416-KBO-B in "SKU" & RG-N416-B in "Unit to Ship"

All the "SKU" & "Unit to Ship" are in one table.

All the remaining data is stored on a Main Table.

How would I create the Main Table to do this?
Attached Files
File Type: xlsx RMA Template.xlsx (34.8 KB, 349 views)
Feb 26 '12 #1
4 1441
Mihail
759 512MB
This can be easy done using VBA code.
Do you agree this solution ? (Have you basic knowledge how to design a procedure with VBA ? )
Feb 26 '12 #2
I am not very programmer savy. Would need the code and instructions on how to enter that code.
Feb 26 '12 #3
Mihail
759 512MB
Oh,
SORRY for that. Really sorry.

I see your .xlsx file and I think that it is a Excel problem.
Now, when I start to design the VBA code I see that your problem is solved in Excel (by using VLOOKUP function) and I realized you need to do the same thing in Access database.

But databases do not work the same.
In databases is no need (more than, is a big mistake) to store data in more than one place.
Take a look here to understand why:
http://bytes.com/topic/access/insigh...ble-structures

Until you read this I'll try to sketch a very simple database for you in order to use it as a start point.

Again, really sorry for my mistake.
We'll "see" soon.
Feb 27 '12 #4
Mihail
759 512MB
You have a sketch for your database.
Of course is not fully functional.

If that don't help you, show us what you have done until now as ACCESS database.
Attached Files
File Type: zip RMA.zip (128.9 KB, 64 views)
Feb 27 '12 #5

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

Similar topics

5
by: gregork | last post by:
I have painstakingly created an excel 2000 workbook for the very complex recipes I have to formulate. I have 2 sheets- 1 for configuring the recipe and 1 that is like an inventory of all the raw...
0
by: Aravind | last post by:
Hi folks. I have the following tables (PK = primary key, FK = foreign key): Member (MemNo , MemName, MemType, Course/Faculty) History (..., MemNo , ...) Member and History are linked in a 1...
0
by: Bill Reed via AccessMonster.com | last post by:
I have an overly long detail section of a form. Is there anyway to automatically force the detail section to scroll down as the user tabs through the fields, while keeping the form header section...
2
by: DP | last post by:
hi, i have created a video rental database system. i have created a customer form, and a film form. i related all the tables, with; tblCustomer has membershipID, which is primary and...
1
by: Steve JORDI | last post by:
Hi, I'd like to know whether there is a class or some code sample available somewhere to do what I'd like to achieve. I have two drop down menus next to each other. The first one has its...
2
by: pankajit09 | last post by:
Hello, Suppose I create a view by merging two tables. Then will the view get updated if the data present in the underlying tables get updated ?
2
by: BlueTrin | last post by:
Is there any way to maintain automatically a header file like this: /* * ********************************************************************************** * JJStep_RateInstance.cs * Author:...
1
natalie99
by: natalie99 | last post by:
Hello hello Can anyone please tell me, can you run something similiar to this replace null value code: FieldNameNZ: nz(,"0") in a way that it will replace any populated field instead of...
1
by: pctec | last post by:
Hello, I have a combo box that is looking into a field from a table named Machines, this machine table has two columns; MachineName and MachineRate but the Combo Box it only showing the MachineName...
3
by: JJ692 | last post by:
I created a form in Access 2007 where some of the fields are "auto filled" from lookup tables. For example, I have a lookup table named "classes taken" which has the columns "class name", "units",...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
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,...
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
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...

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.