G
Guest
I am using MS Access 2003 and am trying to make a back-end for an excel
pivot table. I have a vb form which I click a button and get the information
from my DB2 database(to make it so they have a 'view' of the data on their
own machine, so they do not have to constantly hit our main db). What I do is
create a passthrough query to DB2 and retrieve the information, then I dump
it into a table with my make table query. My question is does a make table
query rerun the passthrough query, when it is queried off of, or does it take
the last results the passthrough query had?
The pass-through query can return upto 600,000 rows, roughtly 200mb of data.
Why does it freeze, does the locked mde file that appears next to the Access
db have anything to do with it? How can I remove it?
Maybe I'm just going about this the wrong way...
It freezes whenever I open it in MS Access:
Here's the make table query.
SELECT STO_RGN_ID AS Region, AS_LST_NM AS LastName,
STO_OP_MKT_ID AS MarketID, STO_OP_MKT_DIR_NM_TX AS MarketDirector,
STO_OP_MKT_DSC_TX AS MarketDescription, UT_ID, STO_NM_TX AS StoreName,
P_CT_ID, PKY_ID, P_CT_DSC_TX,
FCL_YR_ID AS FiscalYear,
FCL_YR_ID0 AS FiscalYearID,
FCL_PER_ID AS FiscalYearPerID,
WK_END_DT_2 AS WeekEndDate, RET_DOLLARS AS ReturnDollars,
SALES_UNITS AS SalesUnits, DM_DOLLARS, WJXBFS1,
END_STO_INV_QT AS StoreInvQuantity,
END_STO_INV_COST AS StoreInventoryCost, WJXBFS2, WJXBFS3, WJXBFS4
INTO tblResult
FROM q_TDataPhoto;
pivot table. I have a vb form which I click a button and get the information
from my DB2 database(to make it so they have a 'view' of the data on their
own machine, so they do not have to constantly hit our main db). What I do is
create a passthrough query to DB2 and retrieve the information, then I dump
it into a table with my make table query. My question is does a make table
query rerun the passthrough query, when it is queried off of, or does it take
the last results the passthrough query had?
The pass-through query can return upto 600,000 rows, roughtly 200mb of data.
Why does it freeze, does the locked mde file that appears next to the Access
db have anything to do with it? How can I remove it?
Maybe I'm just going about this the wrong way...
It freezes whenever I open it in MS Access:
Here's the make table query.
SELECT STO_RGN_ID AS Region, AS_LST_NM AS LastName,
STO_OP_MKT_ID AS MarketID, STO_OP_MKT_DIR_NM_TX AS MarketDirector,
STO_OP_MKT_DSC_TX AS MarketDescription, UT_ID, STO_NM_TX AS StoreName,
P_CT_ID, PKY_ID, P_CT_DSC_TX,
FCL_YR_ID AS FiscalYear,
FCL_YR_ID0 AS FiscalYearID,
FCL_PER_ID AS FiscalYearPerID,
WK_END_DT_2 AS WeekEndDate, RET_DOLLARS AS ReturnDollars,
SALES_UNITS AS SalesUnits, DM_DOLLARS, WJXBFS1,
END_STO_INV_QT AS StoreInvQuantity,
END_STO_INV_COST AS StoreInventoryCost, WJXBFS2, WJXBFS3, WJXBFS4
INTO tblResult
FROM q_TDataPhoto;