>I think you're on to something here Sergey.
>When the report comes up in Preview the correct alias (c_incal) appears but on the printout the wrong alias (workpriv) is there.
>In the Data Environment Init, I have the code:
>Select c_Incal
>Go Top
>
>Is there somewhere else I can put this code so that it will print the correct cursor?
If you use the data environment to open the table, you don't need that code. Instead, just make sure the "InitialSelectedAlias" property of the data environment has c_Incal selected.
Another thing to check is to see if you have any method or UDF calls that happen to switch the table. For example, maybe at the end of the report you try to update a "printed" flag in a table so you end up switching to a different table. Just make sure you restore the correct alias whenever you do something like this.