Full Version: Form Save
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
rlsdata
I have a form that is bound to a table. It has two unbound list views that have sql queries as the rowsource.
I can add a record to the parent form, but it will not save until I close and reopen the form.

When I try and use docmd.runcommand accmdsaverecord, I get error 3021.

This is only happening on two forms in my app that has around 50 forms that are working just fine.

I am sure it is something simple, but I have not been able to find anything on the UA

Ryan
SOS_UA
In what event are you trying to save the record?

theDBguy
Hi Ryan,

I think we'll need more information from you. You started saying that you have a "form" but then discussed the problem with a "parent" form. Also, it should not be necessary to close and open the form to test if it's saving the record. Are you getting any errors by just moving from one record to another? Have you checked if there are any differences in the properties between you problematic form against those that are working properly?

Just my 2 cents...
SOS_UA
And a good 2 cents it is laugh.gif
theDBguy
QUOTE (SOS_UA @ Feb 26 2010, 09:00 PM) *
And a good 2 cents it is laugh.gif

Hi Brian,

Welcome to Utter Access!

welcome2UA.gif
SOS_UA
QUOTE (theDBguy @ Feb 26 2010, 09:13 PM) *
Hi Brian,

Welcome to Utter Access!

welcome2UA.gif



Thanks. Do you think 84 posts for my first day is a bit much? laugh.gif laugh.gif laugh.gif
theDBguy
QUOTE (SOS_UA @ Feb 26 2010, 09:15 PM) *
Thanks. Do you think 84 posts for my first day is a bit much? laugh.gif laugh.gif laugh.gif

It's actually good. It gave us old timers a chance to rest for the day. thanks.gif
SOS_UA
QUOTE (theDBguy @ Feb 26 2010, 09:19 PM) *
It's actually good. It gave us old timers a chance to rest for the day. thanks.gif



The funny thing is that, as a lark, I went to the members page and had it page at 60 per page which gave 1588 pages of members. Which then I looked for me and I was on page 40 (in descending order). So I moved up 1548 pages just today ohyeah.gif
theDBguy
It was a very good day for you, then. Congratulations! It's getting late in my neck of the woods, so I'll have to say good night. I won't be surprised if I see you're still at it when I get up in the morning. compute.gif
SOS_UA
QUOTE (theDBguy @ Feb 26 2010, 09:24 PM) *
It was a very good day for you, then. Congratulations! It's getting late in my neck of the woods, so I'll have to say good night. I won't be surprised if I see you're still at it when I get up in the morning. compute.gif



Goodnight - sleep well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.