B
Brett
Hello,
I'm not experienced at all with VB programming, so I am not sure how
to handle this (using VB or other method):
I would like to have a table record used as the parameter for a stored
procedure called in a pass-through query via an ODBC connection.
Pass-through "QueryName" has the following SQL: sp_report
JobEstimatesVsActualsDetail show Text, Label, AmountEstCost,
AmountActualCost, AmountDifferenceCost, AmountEstRevenue,
AmountActualRevenue, AmountDifferenceRevenue parameters DateMacro =
'All', EntityFilterFullNameWithChildren = 'CustomerName',
SummarizeColumnsBy = 'TotalOnly'
and the following ODBC Connect Str property: ODBC;DSN=QuickBooks
Data;SERVER=QODBC;OptimizerDBFolder=%UserProfile%\QODBC Driver for
QuickBooks\Optimizer;OptimizerAllowDirtyReads=N;SyncFromOtherTables=N
Thus, I would like to insert or pass (don't know the terminology) a
customer name from my table Customers to the parameter
EntityFilterFullNameWithChildren = 'x' where "x" is CustomerName from
the Customers table.
To simply this, let's start with the assumption that there is only one
name in the Customers table since I will probably pass that name from
a form selection from a list a customers (CustomersList table). I'm
trying to keep this example simple to establish the pass-through and
get the data into Access before I move on to the forms and reports if
that makes any sense.
Thanks!
I'm not experienced at all with VB programming, so I am not sure how
to handle this (using VB or other method):
I would like to have a table record used as the parameter for a stored
procedure called in a pass-through query via an ODBC connection.
Pass-through "QueryName" has the following SQL: sp_report
JobEstimatesVsActualsDetail show Text, Label, AmountEstCost,
AmountActualCost, AmountDifferenceCost, AmountEstRevenue,
AmountActualRevenue, AmountDifferenceRevenue parameters DateMacro =
'All', EntityFilterFullNameWithChildren = 'CustomerName',
SummarizeColumnsBy = 'TotalOnly'
and the following ODBC Connect Str property: ODBC;DSN=QuickBooks
Data;SERVER=QODBC;OptimizerDBFolder=%UserProfile%\QODBC Driver for
QuickBooks\Optimizer;OptimizerAllowDirtyReads=N;SyncFromOtherTables=N
Thus, I would like to insert or pass (don't know the terminology) a
customer name from my table Customers to the parameter
EntityFilterFullNameWithChildren = 'x' where "x" is CustomerName from
the Customers table.
To simply this, let's start with the assumption that there is only one
name in the Customers table since I will probably pass that name from
a form selection from a list a customers (CustomersList table). I'm
trying to keep this example simple to establish the pass-through and
get the data into Access before I move on to the forms and reports if
that makes any sense.
Thanks!