if LOWER(JUSTEXT(thisform.text1.value))='xml'>hi all;
>if thisform.text1.value=xml > CREATE TABLE ... > XMLTOCURSOR(ALLTRIM(thisform.Text1.Value),"VFPCursorName",512) > APPEND FROM (DBF("VFPCursorName")) > >else > CREATE TABLE ... > APPEND FROM (thisform.Text1.Value) type xls >endif >>