Solution: See thread content.In my Invoice database I have an element named Checkcode, with the label Lookup. Unlike every other element on my form, it has a blue background. It is a combo box which populates on-element-entry with the following code:
var vCheckcodeLookups as string
// Populates the Checkcode combo box
vCheckcodeLookups = @XListValues(@FN, "Customer!Checkcode")
vCheckcodeLookups = @SortstringArray(vCheckcodeLookups,0)
vCheckcodeLookups = @Replace(vCheckcodeLookups, "&", "\&")
PopulateListElement(Checkcode, vCheckcodeLookups)
This element is only visible in Add or Update modes, which is controlled by the following on-form-entry code:
// Make the Checkcodes visible if Add or Update modes
IF (@MODE() = 0 or @MODE() = 1)
THEN Visibility(Checkcode, 1)
Now here's what's funky: If I do a search, retrieve some records, and then use the Table column selector to choose which columns I want displayed in Table View, it
always displays in the Table View whether I've selected it or not. It's a real puzzler. As the table is populating (which can take a few seconds if I've retrieved all records) only the columns I've selected show. But as soon as the table is populated, there it is! It shows to the right of all the other columns, gloriously blue, and empty because the element never "saves" its value once it's been used. If I click on it, "Working" flashes in the Mode box, as if it was trying to populate, but this doesn't actually happen.
Gremlins in the machine?