|
-
Feb 28th, 2002, 04:25 AM
#1
Thread Starter
Lively Member
What the....
I have an add button on my main form, when I press this "add" button I want to be able to open a form which has textboxes that are linked to my datacontrol, so this 2nd form will be my data entry form. I would like the textboxes to be empty(and ready to add data into) so i tried to add this line of code to the 2nd form's load event: Form2.Data1.recordset.Addnew but it keeps coming up with this error:
Runtime error"91" Object variable or With Block variable not set
I'm using vb5 by the way,
What am I doing wrong??
Thanks,
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
|