Sub Form Problem

D

Don Rountree

I have a continuous subform that is used as an order
guide. Each time the main form is opened, I run a delete
query to delete the previous order and then I run an
append query to rebuild the underlying query with a
refreshed order guide. Everything works fine except
this. The first record in the continuous subform shows
the data of the first record. All the remaining records
show the word "Deleted" in all the fields. I imagine I
need to requery the form somehow. That's just my stupid
guess. Can someone set me straight and tell me what code
I need to add to my Onload property to get all records to
populate properly? Thanks in advance.

Don Rountree
 
G

Gary Miller

Don,

Before anyone tries to address the technical issue that you
are concerned about, my curiousity begs the question of why
you are deleting all of the history for a given order? Would
you not want to keep a record of this?

Gary Miller
Sisters, OR
 
M

mcnews2k

i've run into this problem a few times.
it works best for me if i delete when i close the form rather than when it's
opened.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top