J
jimithing1980
This one may be a bit complicated, but I'll try to explain myself as best I
can. I have several horizontal tables and several vertical tables in my
database. The horizontal tables are typical tables with a unique ID as well
as some specific information about whatever the table references (i.e. a
tblHouses table would contain the StreetAddress, cityID, etc.)
I also have 6 vertical tables, one for each data type. For instance, I have
a vertical table called tblEntityDates that has a unique ID, HouseID,
EntityNameID, and a Date (the EntityNameID links to a table that lists what
can be considered the field name). The reason for the vertical table is that
we want to track history of when any date changes. Also, there is a benefit
due to the fact that we store nearly 100 different dates for each House for
varying reasons but most Houses only need 20 of those dates populated.
As well as dates, we have many different currency values, numeric values,
Text strings, etc. that require the same degree of historical tracking and
have the same population issues.
What I need to do is populate an unbound form with these values but it mixes
and matched from the horizontal table and the vertical tables. I'm using an
SQL Server backend and an Access frontend but am NOT linking tables using
ODBC but rather using 100% ADO (considering ADP but the same problem exists).
We cannot use Crosstab queries in SQL Server and though I've found many
functions that will create crosstab-like results, I would need to perform
these crosstab SPs on all 6 DataType tables and concatenate them using temp
tables and a view. Problem with that is we have 150 different users who will
be running these functions constantly all day, so the processing power needed
for this would get out of hand.
Has anyone ever had a dilemma similar to this and what suggestions are out
there? I have been searching for a few days now and cannot find any
reasonable solutions thus far other than possibly hardcoding each individual
control to a specific SQL statement or retrieving 6 different recordsets on
the form open event and iterating through them to populate the form. I'd
like an easier less processing power solution if one is available. Thanks in
advance for any suggestions!
can. I have several horizontal tables and several vertical tables in my
database. The horizontal tables are typical tables with a unique ID as well
as some specific information about whatever the table references (i.e. a
tblHouses table would contain the StreetAddress, cityID, etc.)
I also have 6 vertical tables, one for each data type. For instance, I have
a vertical table called tblEntityDates that has a unique ID, HouseID,
EntityNameID, and a Date (the EntityNameID links to a table that lists what
can be considered the field name). The reason for the vertical table is that
we want to track history of when any date changes. Also, there is a benefit
due to the fact that we store nearly 100 different dates for each House for
varying reasons but most Houses only need 20 of those dates populated.
As well as dates, we have many different currency values, numeric values,
Text strings, etc. that require the same degree of historical tracking and
have the same population issues.
What I need to do is populate an unbound form with these values but it mixes
and matched from the horizontal table and the vertical tables. I'm using an
SQL Server backend and an Access frontend but am NOT linking tables using
ODBC but rather using 100% ADO (considering ADP but the same problem exists).
We cannot use Crosstab queries in SQL Server and though I've found many
functions that will create crosstab-like results, I would need to perform
these crosstab SPs on all 6 DataType tables and concatenate them using temp
tables and a view. Problem with that is we have 150 different users who will
be running these functions constantly all day, so the processing power needed
for this would get out of hand.
Has anyone ever had a dilemma similar to this and what suggestions are out
there? I have been searching for a few days now and cannot find any
reasonable solutions thus far other than possibly hardcoding each individual
control to a specific SQL statement or retrieving 6 different recordsets on
the form open event and iterating through them to populate the form. I'd
like an easier less processing power solution if one is available. Thanks in
advance for any suggestions!