473,399 Members | 3,656 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,399 software developers and data experts.

Form creating problems...

283 100+
Im not sure if this is possible or not and from a lot of trial and error i have found a way to create what i need but i feel its not very efficiant.

Ok here it is I am trying to create a form that can be used to enter in names of different people and their date of birth. But i want to be able to enter in many names at once and not have to type them one by one and save them one at a time.

So for example at the top of my form I have enter todays date, and lets say company id, now under this I have 15 text boxes going down that you can enter in the names of say 15 new employees and another box next to that where you can enter in each persons date of birth. What I want to have happen is after I have entered in all 15 names and dob I can press a save button and all of those names will go to a table/query and save in a column titled Employee name. Each name will save in a row going down the column along with their date of births in the next column and todays date and company ID will automatically copy and save along with each persons name in seperate columns. So i am wondering is this possible?? From what I have played around with I have found you cant do it unless you create in the table a section for each name such as name1 name2 and so on. I would like to make it so i dont have 15 columns going across for every single name.

any help would be great thanks!
Mar 2 '10 #1
5 1211
slenish
283 100+
Also to add to this does anyone know if using something like Visual Studio Datebase devloper would be better than using Access??
Mar 2 '10 #2
hedges98
109 100+
Does the company ID change at all?

Unless I've missed something, couldn't this be achieved using continuous forms?
Mar 3 '10 #3
topher23
234 Expert 100+
For the Database Developer software, you will need an SQL server (be that MS-SQL, MySQL, whatever). For Access, you don't need a server connection. That's what makes Access great for prototyping. Then, if you need to upsize to a server-based solution, you can still use Access as the front-end by linking the tables on the server-based SQL database or use Visual Studio, PHP, SharePoint, etc. to create an entirely new front-end.
Mar 3 '10 #4
topher23
234 Expert 100+
And hedges98 has the answer you need. Set up a form with a Header, detail, and footer. Put your info that won't change into the Header, put your employee-specific data into the detail section, then set the Default view in form properties to Continuous Forms (the default is Single Form).

With a little bit of playing around, you should be able to get it to work for you.

Also, you don't need a Save button, as bound forms save their data automatically into the table or query that is the Recordsource.
Mar 3 '10 #5
slenish
283 100+
Hi Hedges and Topher,

Well the company ID could change but I want it to save the company ID as the same ID once for all 15 entries then when you press save record it saves all of them to a table and the form is fresh again.

After entering in the first 15 names the company ID could change or it could be the same again.

So basically when I go to pull the information I want to be able to see all the names in one column then the company ID attached to each name and the date they were entered so in total there would be 3 columns.

something like;
Company ID............... Date
1234................. 3/3/2010

Name
Adam
Aaron
Alex
Bart
Bret
ect...

Then in the table it would look like this

Comp ID........ Date....... Name
1234....... 3/3/2010...... Adam
1234...... 3/3/2010....... Aaron
etc...

Apperciate the help :)
Mar 3 '10 #6

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

Similar topics

6
by: Bob | last post by:
Declaring a module level form object in multiple froms within a project to show another project form causes a stack overflow and other assorted errors. Can anyone help?
5
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug...
1
by: Don Stefani | last post by:
Hello, I have a form that I want to submit "onchange", OK I've got that working, but when the form submits, I want to pass along a value to a CGI script, as if that value was in a hidden form...
2
by: Patrick | last post by:
I want to define a set of web-form templates in XML and render the equivalent web-form with ASP.NET, then process any input server controls on the form. Reading the XML file from Page_load is...
104
by: Colin McGuire | last post by:
Hi, is there a way to show a form without a titlebar (and therefore no control box/minimize box/title etc) but still have it appear looking like 3D? The property FormBorderStyle to None - this...
17
by: Barret Bonden | last post by:
As an old programmer just now looking at VB.net I have a question: How does one simply open one form from another ? I don't mean how does one create a new instance of that form , but rather how...
4
by: Gerhard | last post by:
I have an MS Access app with multiple forms. One of the forms has a Toolbar (MsComctlLib.Toolbar) and it works as advertised. I handle the buttons in the Toolbar1_ButtonClick event. I would like...
8
by: Phil Latio | last post by:
I've been creating an application over the last few weeks and generally pleased with what I have produced but one area is irritating me, form validation. At the moment the forms are simply...
2
by: cp27 | last post by:
Hi all, My name is Christopher, and I am creating a point of sale database for a flooring company. Thus far, I have customer, products, order, order details, installer and supplier. Specifically,...
6
by: shapper | last post by:
Hello, I am creating a form that includes a few JQuery scripts and TinyMCE Editor: http://www.27lamps.com/Beta/Form/Form.html I am having a few problems with my CSS: 1. Restyling the Select
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...
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
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
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,...
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.