Hi Bob,

The error reporting is not very friendly here I admit but I am pretty sure you will find that the problem is in some of your data dictionary .dd files. The Studio is searching for a place to insert the USE statement in the .DD file for the new lookup component. These go in a special area in the DD file so that the DD will work in both a windows and a web application. The special area looks something like this...

Code:
#IFDEF Is$WebApp
    Use SelectCustomer.wo
#ELSE
    Use Customer.sl
#ENDIF
This block should be located at the bottom of the DD file OUTSIDE the DD class declaration below End_Class and below any other objects. If the #IFDEF Is$WebApp is located INSIDE the class declaration, for example, you will see the above error message.

regards John van Houten
Data Access Corporation