J
John Doe
This seemingly simple database has been giving me real problems. I
don't know much at all about programming in Access and the MS website
is extremely difficult to use as a source for learning.
Here's my basic situation...
I am creating a database to keep track of the reviews that are
performed on documents (it's a metrics database). A document can be
reviewed multiple times before it finally gets approved.
So I have two tables. One has the document data. The other has the
review data.
First the user logs in a new document. That's on one form. Then the
user can log a review of a received document by using a second form.
That second form lists all the documents that are eligible for review,
the user selectes one, and that "creates" a new review of that
document. (Then on other forms they can add other information but
that's not the problem here.)
One thing that is needed is that on the Reviews form the user may find
that they need to change some of the original information about the
document. I have the documents displayed in a list box and the user
just clicks on a line to select a document. There needs to be an
ability for the user to edit that document from this form.
I tried to use a subform to display the document since there is a
one-to-many relationship of documents-to-reviews. But I couldn't seem
to get things working correctly.
So I finally put together another form for editing a document's
information. Now the user can double-click on a document in the list
and that will bring up the document information in a third form. The
user can edit the information and then return to that second orm (the
Reviews form).
At that point the list box needs to be refreshed with the new
information, and the current record needs to be the one that was just
edited.
What I can't figure out is how to get the current record to be the one
that was just edited. Once the list box is refreshed there is no
document selected at all. Actually I close the Reviews form to go to
the Edit form and then reopen the Reviews form when I come back.
I think I'm making this way harder than it needs to be but I have
spent hours on the MSDN website trying to figure out recordsets and
subforms and all that with no success.
Any suggestions on maybe a different solution implementation or maybe
some pointers to someplace that is a good place where I can LEARN
Access so I can figure this out?
don't know much at all about programming in Access and the MS website
is extremely difficult to use as a source for learning.
Here's my basic situation...
I am creating a database to keep track of the reviews that are
performed on documents (it's a metrics database). A document can be
reviewed multiple times before it finally gets approved.
So I have two tables. One has the document data. The other has the
review data.
First the user logs in a new document. That's on one form. Then the
user can log a review of a received document by using a second form.
That second form lists all the documents that are eligible for review,
the user selectes one, and that "creates" a new review of that
document. (Then on other forms they can add other information but
that's not the problem here.)
One thing that is needed is that on the Reviews form the user may find
that they need to change some of the original information about the
document. I have the documents displayed in a list box and the user
just clicks on a line to select a document. There needs to be an
ability for the user to edit that document from this form.
I tried to use a subform to display the document since there is a
one-to-many relationship of documents-to-reviews. But I couldn't seem
to get things working correctly.
So I finally put together another form for editing a document's
information. Now the user can double-click on a document in the list
and that will bring up the document information in a third form. The
user can edit the information and then return to that second orm (the
Reviews form).
At that point the list box needs to be refreshed with the new
information, and the current record needs to be the one that was just
edited.
What I can't figure out is how to get the current record to be the one
that was just edited. Once the list box is refreshed there is no
document selected at all. Actually I close the Reviews form to go to
the Edit form and then reopen the Reviews form when I come back.
I think I'm making this way harder than it needs to be but I have
spent hours on the MSDN website trying to figure out recordsets and
subforms and all that with no success.
Any suggestions on maybe a different solution implementation or maybe
some pointers to someplace that is a good place where I can LEARN
Access so I can figure this out?