Hi Joel...
In server code:
TableName.ColName[Tableselect(tablename)] will give you the value of the desired column
This will work whether the table is memory (programmed) or file/query linked...
If the table is linked to a file, then FileName.LinkedFieldName will give you the desired value (no index here, as the current line of the table matches the current file buffer)
Same thing should be true for the query case...
Best regards
Fabrice Harari
WinDev, WebDev, WinDev Mobile consulting