You can change your code to use varaibles so you wouldn't need to do Search And Replace.
lcTable = "DELME"
lcDataPath = "D:\DATA\"
lcDataFile = "IMPORTFILE.TXT"
USE (lcTable)
APPEND FROM (lcDataPath + lcDataFile) SDF
>I want to create a "Search and Replace" FORM that will modify values in
>a program.
>
>For instance:
>
>**************************************************************************
>[ program - Syntax ]
>
>USE "DELME"
> APPEND FROM D:\DATA\"IMPORTFILE".TXT SDF
>
>**************************************************************************
>
>I would like to change the "DELME" and "IMPORTFILE" words using a FORM GUI.
>
>Any help would be greatly appreciated.
>
>Thank you,
>Billy
--sb--