Is it possible that you have #DEFINE comact ... in your program or include file?
>Hi
>
>I am starting to get some bizarre things happening with my VFP7 compiler.
>
>the line
>
>
.cSysOpts = IIF(commact.Sales,'Y','N')
>
>compiles - saves just fine but
>
>
.cSysOpts = IIF(comact.Sales,'Y','N')
>
>which simply has one less letter in the table name gives me an error telling me I am 'missing a comma'
>
>What gives, has my compiler take a personal grudge against certain names. This is the second 'name' it has objected to.
>
>Earlier I couldn't get it to compile 'DataProcess(nUser)' but it was quite happy with 'ProcessData(nUser)'
>
>Can anyone advise a poor confused programmer???
>
>Also, is anyone getting fatal errors that appear to be caused by the smartfill function in VFP7????
>
>Regards
>Geoff Scott
--sb--