|
-
Jul 30th, 2000, 01:27 PM
#1
Thread Starter
New Member
I have a form in Access that adds to the corresponding table.
Currently when I open the form, it takes me to the first record in the table; and I have to cycle through all recors to get to a blank one to enter new data.
How can I make it so that the form opens up to blank fields without having to cycle through them? (I'm extremely new to this, with limited VB skills, so precise examples would be appreciated)
Thank you for your time.
-
Jul 31st, 2000, 03:38 AM
#2
Addicted Member
try this c.s
Private Sub Form_Load()
'assuming that text1.text is the field for entering data
text1.text=" "
End Sub
hope that helps
-
Jul 31st, 2000, 01:25 PM
#3
Lively Member
Add this to you Form_Load event by opening you form and clicking "Code" on the View menu.
Code:
Private Sub Form_Load()
Form.Recordset.AddNew
End Sub
If you need any more help just post & I'll see what I can do.
Dr_Evil
Senior Programmer
VS6 EE
VS.NET EA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|