>I'm trying to port over mods to a new version and I ran across this program:
>
>CLEAR
>CLOSE ALL
>SELECT HISTORY ;
>FROM M:\PRO\ICDATA\ICITEM10.DBF exclusive
>REPLACE ALL ICITEM10.HISTORY=(.T.) FOR HISTORY=(.F.)
>
>I'm guessing it's supposed to change the field "history" to true wherever it's false, but it's written so strangely. It looks like it's putting the field "history" into a query first, and then not using it. Maybe I'm missing something because I'm so foggy today, but this just doesn't look right to me...
>
>Thanks,
>
>Michelle
Probably generates an error. There's no WITH value. If it's trying to what you think:
REPLACE ALL ICITEM10.HISTORY WITH NOT ICITEM10.HISTORY FOR NOT HISTORY
REPLACE ALL ICITEM10.HISTORY WITH .F. FOR NOT HISTORY
will do.
George
Ubi caritas et amor, deus ibi est