H
Helen
Hi everyone,
I'm using Access 2000 with Windows XP. The database is broken into backend
and front end, but both files reside on the server (yes I know - don't
ask... )
I am working on a database that someone else has set up. He has append
queries running from one form that do some calculations and populate a table
of repayments (the db manages loans to clients). The queries draw data from
the Loans table via the LoanID which is displayed on the form. I want to
reuse these queries (that are working just fine in their current context)
with a couple of changes to the calculations, and run them from a different
form.
I've opened each one, done a File, SaveAs, given them a different name, made
the changes to the calculations and to the criteria specifying where the
LoanID is being picked up (ie. from my new form that i'm running the new
versions from), saved, and copied the names of the new versions into the
code on the click event on the button where i'm running them from, etc. etc.
Throughout this process I've saved multiple times...
Now comes my problem. When I test the queries the first couple of times they
work just fine. ie. the new calcs give the desired results, and the records
are appended to the table no problem. THEN, suddenly on the third or fourth
run-through, one of them doesn't work (it's always the same one - that would
seem to be significant). And when I go into design view, the original calcs
and criteria from the original version of the query are back!! It's like my
changes haven't been saved. Except that they have, many times. I have saved,
closed the query, opened it again and observed that my changes are there..
I've had someone sit with me and double check my actions, and that i'm not
just going into the wrong version of the query, or whatever. I've done the
usual things like create a new query from scratch, and build my criteria and
calcs from scratch. I've done a compact and repair on the database. I
actually started with a blank db and copied all the objects across in case
there was some residual corruption of the file. I even tried running the SQL
from the code, rather than running the query. That worked a treat also for
about 3 times. Then my changes to the code on click event disappeared!!!
Any other suggestions? Any ideas as to why this would be happening?
Many thanks in advance and regards to all,
Helen
I'm using Access 2000 with Windows XP. The database is broken into backend
and front end, but both files reside on the server (yes I know - don't
ask... )
I am working on a database that someone else has set up. He has append
queries running from one form that do some calculations and populate a table
of repayments (the db manages loans to clients). The queries draw data from
the Loans table via the LoanID which is displayed on the form. I want to
reuse these queries (that are working just fine in their current context)
with a couple of changes to the calculations, and run them from a different
form.
I've opened each one, done a File, SaveAs, given them a different name, made
the changes to the calculations and to the criteria specifying where the
LoanID is being picked up (ie. from my new form that i'm running the new
versions from), saved, and copied the names of the new versions into the
code on the click event on the button where i'm running them from, etc. etc.
Throughout this process I've saved multiple times...
Now comes my problem. When I test the queries the first couple of times they
work just fine. ie. the new calcs give the desired results, and the records
are appended to the table no problem. THEN, suddenly on the third or fourth
run-through, one of them doesn't work (it's always the same one - that would
seem to be significant). And when I go into design view, the original calcs
and criteria from the original version of the query are back!! It's like my
changes haven't been saved. Except that they have, many times. I have saved,
closed the query, opened it again and observed that my changes are there..
I've had someone sit with me and double check my actions, and that i'm not
just going into the wrong version of the query, or whatever. I've done the
usual things like create a new query from scratch, and build my criteria and
calcs from scratch. I've done a compact and repair on the database. I
actually started with a blank db and copied all the objects across in case
there was some residual corruption of the file. I even tried running the SQL
from the code, rather than running the query. That worked a treat also for
about 3 times. Then my changes to the code on click event disappeared!!!
Any other suggestions? Any ideas as to why this would be happening?
Many thanks in advance and regards to all,
Helen