>Is there a way to evaluate the name of the first field in a table, or some other structure issue, programatically? During a program, I would like to make sure that a user is not opening a table with the wrong structure. > >Just wonderin'
* Check the name of the first field in the tableIFFIELD(1, "mytable") = "mytable_id"* Check the # of fileds in the tableIFFCOUNT("mytable") = 25
* Get fields info into an arrayDIME laFields[1]
= AFILEDS(laFields, "mytable")