Start a new topic

script fails to write new comment into file

I've coded a search/replace standalone script.

I think it's doing what I want, but when I try to write back to the FLT file, it doesn't actually.  Tested in Creator.

The operation returns a 1, which I think means it succeeds.

What am I missing to get mgSetComment to work??


(20.9 KB)

Without studying the script to too much detail, at first glance I don't see you "saving" the file. You call mgCloseDb but I don't see a call to mgWriteDb.


Thanks much!

Yep, that was it.

Thank you!!

Login to post a comment