Again, You're AWESOME!
I have a couple challenges with executing all of the tasks below. A little
background is necessary.
I am using Access to write queries that accesses mostly SQL tables and
views. The current Access database has two tables but I am fine building as
many as necessary. So far I am working with queries that I have inherited and
I'm trying to fix/improve them before moving on to adding a user interface
with forms, menus and reports.
Nobody is using forms or reports. The only object we currently use is
queries, a couple tables and mostly SQL tables and views (which we cannot
touch).
That said, I have completed all your details except where noted below:
1. Done
2. Done
3. Done (1/1/2009, 0.55)
4. Link to it through your FrontEnd application.
Since I need to call the value in a query, I'm not sure how to do this. I
assume you mean that I should place the ID in another table as a foreign key,
but I am unable to access any of the SQL tables from where the rest of the
data is coming.
5. Done
6. Done: Saved as basCurMilReimb
7. Within the Form_Open event of your initial form insert the following
statement anywhere:
curMilRate = DLookup("[MilRate]", "tblMilRates")
Is there another place I can put this for now? I do want to build a
friendlier user interface but for right now everyone just opens the database
and runs their specific query from the Queries List in the right navigation
pane.
8. Within all your queries change all instances of 0.585 (or whatever) to
GetMilRate() .
It will probably look something like Reimb: [Number of Miles] * GetMilRate()
I assume this wont do me any good until I have the curMilRate loading from
an event.
9. Execute the appropriate function and then report to us the text of the
inevitable Error Message.
HehHeh...I hope to surprise you
Gratefully!
TraciAnn