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

Creating a form to pull information from a table then add to a diff table

Im trying to build a form that will pull numbers from a table and when the other information in the form is complete by the user and the form is saved it will write the pulled information from table 1 it will write information to table 2 without the person having to enter the numbers pulled from table 1 in a different box so it can write to table 2. Any Help Is Appreciated!!
Jan 20 '19 #1
14 1471
NeoPa
32,556 Expert Mod 16PB
What?

Really very little idea what it is you're trying to describe here. It makes so little sense.

One thing I would say though is it sounds like you need a Form bound to a (updatable) Query linking both Tables together.
Jan 20 '19 #2
Sorry for being so vague. I知 trying to make a form to where it will pull numbers from table 1 and when the customer enter there name and some other information in the form when they click save I need it to add that information along with the number that was pulled from the table to save to table B I could have another box that gave them a number and they re-enter that number but I have a fear is them messing it up
Jan 20 '19 #3
NeoPa
32,556 Expert Mod 16PB
How did the idea in paragrapgh #3 strike you?
Jan 20 '19 #4
Im currently trying to figure that out. Im new to all of this so it might take a few tries...


incase you wondering this is what it looks like and im trying to keep them from having to re enter the number so like the numbers show up and auto write to the table because i fear of someone messing them up.
Jan 20 '19 #5
PhilOfWalton
1,430 Expert 1GB
I agree with Neopa's first posting. I have no idea what you are trying to achieve.

So forget everything about forms and numbers, and tell us what your Db is for. Information on what data you want to enter, and what information you want to get out and what information you want to save.

Phil
Jan 21 '19 #6
So we own a racetrack and when drivers come to draw they click a button to get their heat and feature start number(where they start in the race) so when they click the draw button it open a form and it will show them their heat and feature start numbers then they enter their name,class,and car number and hit save but it was not saving their heat and feature numbers unless they enter them into another box that will then only save them to the correct table but I知 afraid we will have drivers enter the wrong number to try and start in front of everyone else in the race. So I知 trying to make the box that pulls the numbers from table 1 when they open the form to save the numbers to table 2 when they close and save the form
Jan 21 '19 #7
PhilOfWalton
1,430 Expert 1GB
Good, that clarifies things a bit!

So several questions come to mind.
1) Do the same drivers appear numerous times in a season. If so, would it be sensible to save their details?

2) How are the heat and feature start numbers generated?

3) Can you show me the layout of your table(s) and relationships?

Phil
Jan 21 '19 #8
The drivers have complained when we have tried other systems that save their information so we have decided not to do that.

We entered the heat and feature numbers into a table at random and have a form pulling the numbers from that table

We just have a form pulling the heat and feature numbers from a table and then the driver information gets entered into another table through the form.
Jan 21 '19 #9
PhilOfWalton
1,430 Expert 1GB
So, in actual fact, is any data being saved, or is this a one off event, and after the race, ALL data is lost?

It would seem to me to be simpler for the driver to enter their details, then use some sort of random number generator to allocate the heat and feature numbers.

If this sounds sensible, how currently are you entering those numbers into your table. What restraints are there on those numbers (Like maximum number if entries per race)?

Phil
Jan 21 '19 #10
we are saving the data in the table that the form gets the numbers from but it writes to a different table so we just clear the table that has the entries in it.

We have the form now to where when it is opened it will pull the numbers from a table so it痴 not really random it just pulls from the table but I知 just need it to pull from table A and write to table B without the drivers having to enter their heat and feature numbers into a different box.

The only restriction is that after 300 cars come through the numbers no longer show up in the form but we never reach 300 cars.
Jan 21 '19 #11
Here is what the form looks like I知 really just trying to remove the empty boxes so that what is pulled from table 1 will show up on the form then be added to table 2 when the form is saved


https://gyazo.com/855a5cfbe298a87d7f49843f0f7f843a
Jan 21 '19 #12
PhilOfWalton
1,430 Expert 1GB
In order to get help, you must answer the questions.

Questions 2 and 3 on post no 8 have not been answered. Nor has the third paragraph of posting 10 been answered.

The form that you have illustrated has no meaningful information on it, just numbers. Where do Customers and Transactions come in to a Db dealing with race entries and start positions? Where are the Entry's names, class, and car number entered?

I don't think you have put much effort into this project and certainly don't seem to know what output you want.

My guess is that you should have a form in which the Entry's name, class, and car number are entered, then a command button that when pressed, shows the heat and feature numbers. I then presume that this is the information that gets saved.

Phil
Jan 22 '19 #13
twinnyfo
3,653 Expert Mod 2GB
Also, please don't use links to external sites for images. Many of our users are unable to see them when this site is accessed from work computers. Please upload the picture directly, using the advanced button when you reply.

Thanks!
Jan 22 '19 #14
Sorry Phil I知 going this from a phone and uploaded the wrong image link. Twinnyfo when i tried uploading a image it was not working but I will try again.
Jan 22 '19 #15

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

Similar topics

2
by: David Bradbury | last post by:
I currently have an iframe on a webpage into which users can insert content. They can further customise the text as I've included buttons such as Bold, Italic, Bullet point etc. This is done along...
2
by: skubik | last post by:
I'm curious as to whether it's possible to create a Form object and populate it with form element objects, strictly in Javascript, without the need to apply the form to a document. Essentially,...
2
by: fkealty | last post by:
I'm attempting to make a small user database more efficient. I have an employee table with id numbers, last name first name title and address. Using a combo box I select the last name and have...
6
by: Ken | last post by:
I have a table I am trying to create with a unique Pk Table fields JobID---PK JobDate I would like to have the primary key be a combination of increment number starting with 001 and year and...
5
by: Michelle A. | last post by:
I have a four page form. Pages 1-3 stores there information in a session variables. Page four is reached (a final review page) and then the information will be written to the SQL server. When...
2
by: Burbletrack | last post by:
Hi All, Hope someone can help me... Im trying to highlight the advantages of using table variables as apposed to temp tables within single scope. My manager seems to believe that table...
0
by: mbedford | last post by:
I'm buildling a form for tracking printer costs. This form will display data from several different tables pulled together by queries. formPrintCost will display: printer information from...
4
by: Kristal Y | last post by:
Hello, I'm more of a graphic web developer than intricate coder web developer so I don't host my clients sites. Each time a client wants a form it's with a different hosting service which has a...
2
Procman
by: Procman | last post by:
I'm using Office 2003 and have done some programming in Access, but not in Excel. - I have an Access DB with a form to enter all receipts and invoices. I use Excel to view the data as a...
15
by: D347HxD | last post by:
Hello, I have been working on a database and so far it's going well. I have 14 text boxes that are hooked up to a button that searched a query (which is attached to a table) for what you searched. It...
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: 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
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?
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
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...
0
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...

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.