>I am getting the error 'Alias COMP_DATE not found' in a code. The line is simply SELECT comp_date, which is a table in the database. Is there something similar to a dataenvironment where I need to place comp_date?
Is the table opened? Where are you getting this error?
Try
if not used('comp_date')
use MyDataBase!Comp_Date shared in 0
endif
If it's not broken, fix it until it is.
My Blog