Ni Gina
I realize my program even though it works now is a disaster and maybe in the future it wont work. So i have no alternative buy to change or quit.
A man from our organization has offered to help. Here is what he suggested.You need to really think about learning VBA
so you can convert all these iif's to logic in VBA
I import 3 htr exports, but I don't join anything. I have a main table I call HX4 in my db and during my import process
(or procedure as access calls it) I append only the data I really want to see or use. So all of the data I want to see or use is in a single table.
For example I have 229 fields from HTR exports 13 fields that I have defined for my own calculated data and 14 spare fields
in case Ken comes up with something else.If Kens adds new stuff I either use the spares or just eliminate old fields that I don't really use.
here is the approach I use
- import all of the htr export files into a tables.
- in a VBA module append only the data I use into a single table
- do all of my personal calculations and put the results in my own fields.
Now I have a single table with all of the data I want use and see and I have queries on this table that I use for handicapping.
the benefits of this approach
a single table no joining (faster db)
all of your iff logic done once at input time in vba and the results put in the main table for your use (no running complex
queries that have to do all that logic every time you want to see something.
My question is Gina
I now have two queries [which consist of many tables and queries] that are used in my report. Someone showed me how to link them so i could put one above the other jn my current report. If i have him show me how to make two tables because one table will
only allow 255 fields and i need more fields than that. These tables will contain my IIF statements in VBA format plus field data.
Once this is done can i somehow tie my two tables together and put them in my report one above the other? Sure hope you say yes.
Thanks for helping Gina
ed