Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add New Records - VB 2008 Express Edition

Status
Not open for further replies.

mondeoman

MIS
Dec 7, 2006
203
GB
I am using MS VB 2008 Express Edition

I have a Master/Detail form with six fields in the master area and a datagrid element for the rest of the fields. These are associated with two tables in an .mdf database file. The form allows users to put details in various text boxes associated with a database and ad extra items in the detail element if appropriate. The form has the usual VB tool bar buttons such as add new, Save and so on. What I want is that when the form is opened it automatically starts wih a new record so that the user does not have to click the AddNew button on the tool bar which for a non IT person could be confusing. In other words I want the form to open at a new record. Is this possible please and if so how do I achieve it. This is driving me demented so any help would be much appreciated.

Beeky
 
This question might be better posted in forum796

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 


Hi,

MS VB 2008 Express Edition is not VBA, Visual Basic for Applications

Please post forum796

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top