Using D2006. I want to define a file of records with different fixed formats e.g:
Rec1 = rectype char 3, field1 string 40, field2 string 30
Rec2 = rectype char 3, field1 string 25, field2 string 50, field3 string 10
I've defined these, however when I want to assign the data held in an edit field I get a compile error 'incompatible types' string and rec1. How can I copy the contents of the editbox to the record?