C
CajunPaul
Guest
Hi, Newbie here.
I've been building databases for many years, using Lotus Approach.
I am now required to use Microsoft Access 2003 running on Windows XP Pro, and am having some trouble. (Imagine that!)
I realize that Lotus is probably a 4-letter word on this forum, so please excuse my foul langue.
Anyway, I've set up two tables, with a 1 to many relationship.
I've built a form using these two tables. On the left, I have the fields from the "Parent" table and on the right, I have a sub-form with the fields from the "Child" table.
My quest is this:
Calculate and store depreciation on fixed assets.
After keying in information into the "Parent" fields, I would like a macro to perform the calculations and fill in the "Child" fields. This macro would have to loop until the asset is completely depreciated using a rather complex formula. I use the formula in excel with very good results. But Access can't "Parse" the formula and tells me I should check my syntax. I've checked and re-checked the syntax, and can't find anything wrong. It is the exact formula that runs perfectly in excel with the exception of using field names instead of cell references.
So, I pared down the formula to do only the first step in the calculation. Access seems to be able to handle that. But the first step in the macro is to create a new record in the "Child" table. It can't even do that! It tells me that the table is not open. How can the table not be open when I am looking at it on the form?
Please excuse my ignorance.
Let me paraphrase how I feel:
Let's pretend I want to put a swimming pool in my back yard.
Using access, I see that first, I need a hole in the ground.
But access doesn't have any hole "Objects".
So I have to dig the hole with a crane.
But access doesn't have any crane "Objects".
So I have to build a crane myself.
But access doesn't have any crane parts.
So I have to pour molten steel into hundreds of molds to make some crane parts.
Then I have to build my crane piece by piece.
Then I have to perform multiple tests to make sure my crane works.
Once I have spent many hours building and testing my crane, I can now dig my hole.
But now, access tells me that not only do I not have permission to use my crane to dig a hole, I'm also not allowed to have a hole where I want to put my swimming pool!
And all through this process, I keep thinking that if I could only use Lotus Approach to dig my pool, all I would have to do is click the "hole" button and click where I want the hole to be.
Sorry about the long winded description. I am very frustrated.
Can any one help me?
I've been building databases for many years, using Lotus Approach.
I am now required to use Microsoft Access 2003 running on Windows XP Pro, and am having some trouble. (Imagine that!)
I realize that Lotus is probably a 4-letter word on this forum, so please excuse my foul langue.

Anyway, I've set up two tables, with a 1 to many relationship.
I've built a form using these two tables. On the left, I have the fields from the "Parent" table and on the right, I have a sub-form with the fields from the "Child" table.
My quest is this:
Calculate and store depreciation on fixed assets.
After keying in information into the "Parent" fields, I would like a macro to perform the calculations and fill in the "Child" fields. This macro would have to loop until the asset is completely depreciated using a rather complex formula. I use the formula in excel with very good results. But Access can't "Parse" the formula and tells me I should check my syntax. I've checked and re-checked the syntax, and can't find anything wrong. It is the exact formula that runs perfectly in excel with the exception of using field names instead of cell references.
So, I pared down the formula to do only the first step in the calculation. Access seems to be able to handle that. But the first step in the macro is to create a new record in the "Child" table. It can't even do that! It tells me that the table is not open. How can the table not be open when I am looking at it on the form?
Please excuse my ignorance.
Let me paraphrase how I feel:
Let's pretend I want to put a swimming pool in my back yard.
Using access, I see that first, I need a hole in the ground.
But access doesn't have any hole "Objects".
So I have to dig the hole with a crane.
But access doesn't have any crane "Objects".
So I have to build a crane myself.
But access doesn't have any crane parts.
So I have to pour molten steel into hundreds of molds to make some crane parts.
Then I have to build my crane piece by piece.
Then I have to perform multiple tests to make sure my crane works.
Once I have spent many hours building and testing my crane, I can now dig my hole.
But now, access tells me that not only do I not have permission to use my crane to dig a hole, I'm also not allowed to have a hole where I want to put my swimming pool!
And all through this process, I keep thinking that if I could only use Lotus Approach to dig my pool, all I would have to do is click the "hole" button and click where I want the hole to be.
Sorry about the long winded description. I am very frustrated.
Can any one help me?