Re: Complex? reporting problem
- From: Kelii <keliie@xxxxxxxxx>
- Date: Wed, 26 Nov 2008 20:47:08 -0800 (PST)
Stuart,
As much as I love VBA, I don't think that you need it here.
Re: your day of year conversion to your "switch value."
I presume that your switch value is relative to the month where the
day of year is occurring? If so, you can build this conversion using
tables and queries.
First, you must create a table that associates each day to a "switch
value." Due to the nature of our calendar system, this could be
tricky, and will require an update each year.
Second, in your query build a new field based on the link from your
original table (with the day of year) to your new table with the day
in year to month in year conversion.
Re: modifying colors based on values.
To the best of my knowledge, reports in Access are black and white.
You cannot generate a report with a red or green text or background.
On the other hand, you can change the color of a field in a form (or
subform). To access this functionality, select the field in design
view and select Format > Conditional Formatting. You will probably
want to use an expression (i.e., Expression Is) to generate your
condition.
Re: research recommendations
I'm pretty sure that your standard "Access Bible" has some starter
information on generating VBA modules. You can also create a macro,
then dig into the code behind the macro (I know you can do this in
Excel, pretty sure its possible in Access, although I haven't ever
done it).
If the intro stuff doesn't satiate your needs, then Access 2002
Desktop Developer's Handbook is a very good source for learning more
complex code development. It doesn't have 'everything' but it has
almost everything you'll need to tap into all of the features of
Access. From what I can tell, this book is the standard.
Finally, you can also check out the Access web (website). Dev Ashish
and compatriots provide alot of good code to build from on the
website. I will say that copying and pasting code is a bad habit.
Invariably something will pop up that doesn't work to your liking and
you'll be forced to revisit the code and change it. Revising code can
be tedious and time consuming, especially if you layer new code on top
of the code you are fixing.
.
- Follow-Ups:
- Re: Complex? reporting problem
- From: Kelii
- Re: Complex? reporting problem
- References:
- Complex? reporting problem
- From: stuvw
- Complex? reporting problem
- Prev by Date: Re: err return type
- Next by Date: Re: Complex? reporting problem
- Previous by thread: Complex? reporting problem
- Next by thread: Re: Complex? reporting problem
- Index(es):
Relevant Pages
|