It's a common knowledge that ADP doesn't work well when the structure change
from one call to another. In your case, I would suggest that you use
aliases to hide this from ADP:
Select table1.A1 as A, table1.B1 as B, .... into mytempreportstable from
Table1
in order to have the exact same structure for mytempreportstable from call
to call. You could also refresh the metadata by closing and reopening the
connection or by calling the application.refreshdatabase method but in my
opinion, simply making sure that mytempreportstable keeps the same structure
would be better.

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
> hi,
> I am creating a stored proc (or a make table) with the same name but
[quoted text clipped - 34 lines]
> Regards
> -- Alibaba ..