It's a bad idea to use workarea numbers. You should use workarea aliases instead.
>I wanted to add a workspace list into my main.h header file
>
>example:
>
>_MAINTABLE1 3
>_MAINTABLE2 7
>
>then in the program I want to include the header file and select the workspace number by using the header file, example:
>
>Select _MAINTABLE1 &&& to use workspace 3 for the table
>
>I always get errors when I try to use the header variables in the select command trying it different ways.
>
>Is it possible to use these in a select command? If so, what is the proper syntax for it?
--sb--