Quote:I have a 4 databases test application, Orders, Clients, Items and Products. Each have only one Form. Items has a subform, a relational link to Products by Product_ID. This part works OK. For test purposes, I created an LE called XLU_Product_Description on the Items form. This LE contains the following code:
XLookup("c:\Sesame\Data\Samples\Products.db" , Product_ID , "Product_ID" ,"Product_Description" , XLU_Product_Description)
We have tendency to use terms Database and Application interchangably. It is not so. In Sesame, one application can and usually contain many databases. In the application where you have subform contain at least two databases.
Since you have Item Form with Subform Product, I believe Item and Product databases belongs to the same application.
If this is the case, the xlookup of the product ID is from the same application but from Product database. (Product form)
XLookup (@fn , Product_ID , "Product!Product_ID" , "Product_Description" , XLU_Product_Description)
Where "Product" is the name of the form.
Please also make sure that you are not operating in Preview mode in which Xlookup commands do not work.