The SourceTableTemporary is a new property introduced in 5.0 giving all kinds of new capabilities of showing data that is not even in the database. Instead of showing real data from the database, the form is running on an empty table when starting up, so you will have to populate it with data. Step 1. Create a normal form with the wizard and define your sourcetable. Select the columns you want to (ab)use. Make sure to select the SourceTableTemporary property. In our example we will use table 18, Customer and select columns No. and Name. Step 2. Create a new function "InitTempTable" In this function define a Local variable "Cust", type Record, Subtype 18. (Customer). Write the following piece of C/AL Code
Good posting. Thanks!