Solved

Form To Just Add Records Only

Posted on 2007-11-28
2
197 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 500 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 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