Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Form To Just Add Records Only

Posted on 2007-11-28
2
Medium Priority
?
208 Views
Last Modified: 2010-04-23
I have a form that has a dataset for a single table in my database with many fields in it.  What is the easiest way to open the form and have all of the fields in the table ready to accept a new entry and not display any current records.  I am trying to do this without a datagrid.
0
Comment
Question by:H-SC
2 Comments
 
LVL 3

Accepted Solution

by:
bnaveke earned 2000 total points
ID: 20369292
In your toolbox look under common controls.  You can set the properties of these controls to dataset fields.
or
put these controls on a form and let the person populate them with the information.  Have them click a save button and update the data using sql commands.
0
 
LVL 1

Author Comment

by:H-SC
ID: 20382242
bnaveke,

a simple insert or update sql command is what I have been using, but wanted to make sure that there were no other auto/wizard options to set the form to only accept new records.  I have been used to ms access and the whole idea of making a form data entry only and just drag all of my fields onto the form via a linked table.  Your response confirms what I thought might be the case for the visual studio side of things as it relates to the comit data process through forms.

thanks again
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question