I am stuck and can't figure out how to write to the .dbf
Thanks.

''XBasic
'This script imports to the allergan.dbf
'---------------------------------------------------

filename=ui_get_file("Open a Text File","Text Files (*.txt)", "", "X")
IF filename = "" THEN
END
END IF

choice = ui_get_radio("Field Name Status",1,"use","ignore","none")

import.type = 0
import.names = choice
import.file = filename
import.db = "c:windowsdesktopallergan.dbf"
import.skip_lines = 0
import.skip_bytes = 0
import.field_sep = ""
import.record_sep = ""
import.record_len = 0
import.rem_blanks = .T.
import.text_qualifier = ""
import.fields = 5
import.field1 = "t_no,c,0,10,0"
import.field2 = "clac,c,1,6,0"
import.field3 = "cl_no,c,2,20,0"
import.field4 = "reqln,c,3,15,0"
import.field5 = "reqfn,c,4,7,0"