S
swas
Hi,
I am dynamically creating a crosstab query for a datasheet in code, and this
is working OK. But I need a few extra columns from other tables, which
crosstabs themselves do not allow (Only one column header possible).
If the crosstab were static, I can have this as a saved query, then use
another query to bring in the crosstab and other columns needed. But creating
the crosstab dynamically means I would need to save this as a query, to
enable use in the second query...
Is there any way to save a SQL string as a query from code? Or is ther a
better way to approach the above problem?
Thanks in advance.
swas
I am dynamically creating a crosstab query for a datasheet in code, and this
is working OK. But I need a few extra columns from other tables, which
crosstabs themselves do not allow (Only one column header possible).
If the crosstab were static, I can have this as a saved query, then use
another query to bring in the crosstab and other columns needed. But creating
the crosstab dynamically means I would need to save this as a query, to
enable use in the second query...
Is there any way to save a SQL string as a query from code? Or is ther a
better way to approach the above problem?
Thanks in advance.
swas