lcFile = getfile("txt") if !empty(lcFile) create cursor mycursor (name c(10), age i, gender c(10)) append from (lcFile) delimited with tab endifElse first you should detect it. You could do that with lowlevel functions. But for now I assume you already know it.