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

Autopopulate a table with blank fields every time another table adds a field

I'm new to access and am wondering if this is possible. Basically, I have a main table where the majority of info goes. But then there needs to be a second table with additional information. I want to make it so every time a new record is added to Table A, a blank record also gets added to Table B, so that when editing in a form, the user can have the option to click a button and see that additional info.

That, or is it possible to match only specific records in Table A that get populated with the additional information in Table B without all the blank records?
Nov 8 '19 #1
6 1710
NeoPa
32,556 Expert Mod 16PB
Rushed reply - more later.

The second option is possible and makes much better sense.
Nov 8 '19 #2
NeoPa
32,556 Expert Mod 16PB
Hi sjjs3189.

Welcome to Bytes.com.

As I started to say earlier, but was in a rush, the first approach is unnecessarily clumsy. That said, there are very few occasions where the second is required either, frankly.

Let's start with a link to one of my favourite articles as it can be such an eye-opener for those coming to databases fresh (Database Normalisation and Table Structures).

Back to your specific issue, do you have over 255 Fields in the data altogether? If so then it's very unlikely you have a very reliable design. Not impossible, but extremely rare for that to make sense. If not then there is no reason I can see why you need to complicate matters by having an extra, separate, table.

With a single table you can design a Form that has the Fields of most interest included as a matter of course, and perhaps a Page (or Tab) Control that contains the rest. Often these will be Controls of Fields that are all empty. That's fine. They'll not take up space that way.

If you're trying to organise your data around Access instead of using what it already provides for you then you should understand that isn't a very good idea. Something generally to be avoided.

If I'm honest, it sounds like you've come to this without a good understanding of what Access already handles for you and thus have over-complicated matters. Not a problem. Easily fixed :-)
Nov 9 '19 #3
I agree with you, you are right. I did it too.
Nov 10 '19 #4
thank you, very important information for me
Nov 10 '19 #5
No. I need two tables unfortunately. I'm trying to learn access for my job and one example I was given is that sometimes there's extra information that they don't want included in the main table because the main table is only for admins. The secondary table would provide additional information on a record for those who would actually work with the project (record). So I need to make sure every record has a matching record that can be edited and seen at any point. But the problem is the main table just uses the automatic numbering as its ID field. How do I do this?
Nov 12 '19 #6
NeoPa
32,556 Expert Mod 16PB
Well, that scenario could also be handled by a single table quite well of course, but if we're talking about learning about different approaches and techniques then that won't be what you're looking for.

I'm going to be a little more circumspect now I know that you're on the path in order to develop your skills. My giving you pre-packaged answers won't be doing you any favours. That said, it sounds to me like you're someone who's not afraid of a challenge so I think we're on the same page here.

So, you're question is about linking tables together. As I suggested in my first reply (Post #2) it is perfectly possible to link tables together and include all records from table A, and only those from Table B where there is a match.
sjjs3189:
But the problem is the main table just uses the automatic numbering as its ID field. How do I do this?
Can you explain why this appears as a problem to you? I feel we're missing part of the picture. Normally speaking this is not seen as a problem.
Nov 12 '19 #7

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

Similar topics

7
by: Philip Mette | last post by:
I have been searching many postings and I cant seem to find anyone that has this answer so I decided to post. I am using SQL (Transact-SQL).If I have 2 tables with columns...
4
by: Gaz | last post by:
Hi, I need to have a table nested within another table. The tables are alongside each other visually speaking, and the nested table (on the right) can vary in size. My problem is that when the...
4
by: EJO | last post by:
Using an MS A2K front end running on WinXP and ODBC connections to SQL Server 7 on Win 2K server; there are about 10 users who access the front end via Terminal Server and use the same front end;...
2
by: news.hp.com | last post by:
I have situation where I need to copy multiple records (only certain fields) from a Rules table to an Events table based on a selection identified in a combo box. When the selection is made in a...
4
by: Melissa | last post by:
I have a frontend file named CustomerApp and backend file named CustomerData. CustomerApp is at C:\Customer Database and CustomerData is at S:\Customer Database. Could someone help me with the code...
3
by: sparks | last post by:
I was copying fields from one table to another. IF the var name starts with milk I change it to egg and create it in the destination table. It works fine but I want to copy the description as...
1
by: andy | last post by:
I have three things, 1. a form with a combo box on it. 2. A lookup table with 2 fields, RMName and RMmrm. 3. A table with site information including an RM field and an MRM field. The combo box...
6
by: Rico | last post by:
Hello, I'm creating an audit table and associated triggers to be able to capture any updates and deletes from various tables in the database. I know how to capture the records that have been...
1
by: Steven | last post by:
Hi, I would need some help here: I have two tables, Patient (parent table) and Service (detail table). Composite primary key for parent table is (fname, lname, pid), while composite primary...
3
by: apank | last post by:
I have been working with VBA for less than a year, but mostly in Access. I have come accross an issue in Excel that I want to solve programatically. I have several pivot tables on one work sheet...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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...
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,...

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.