Subject Derive grid's fieldName
From Tom <IHaveNoEmail@ddress>
Date Sun, 24 Oct 2021 10:01:58 -0400
Newsgroups dbase.getting-started

dBase 2019
Windows 10

Hi all,

I am trying to derive the table field name that my grid column is
attached to via program. That would be the word 'testdate' in the
following example.The method escapes me at the moment. Your help would
be appreciated.

      columns["Column1"] = new GRIDCOLUMN(form.GRID1)
       with (columns["Column1"])
          dataLink = form.qdata.rowset.fields["testdate"]
          editorType = 1        // EntryField
          width = 90.0
       endwith

Thanks,

Tom