HI
1. If the error is while running the executable...
Probably, the data files referred in the forms DataEnvironment is not in the same directory. So you have to set path for that data tables to be made available.
2. If the error is while you are compiling...
do form testformexecute
read events
** Note I have removed the .scx. Once the comiplation is done, the executable holds what it wants and you dont specify the .extension.
3. In your main.prg, it is always advisable to set the path in the following way.
****************************************
PUBLIC gcHomeDirectory, gcDataPath
gcHomeDirectory = JUSTPATH(SYS(16,0))
SET DEFAULT TO (gcHomeDirectory)
** If DATA is the directory which holds the DATA tables
** within your default directory... then...
gcDataPath = "DATA\"
SET PATH TO SET("PATH"

+";"+gcDataPath
****************************************
The above steps will be helpful when you shift the application to a different directory and then work on a later date.
Hope this is helpful.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
