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??


Thx!

flt
(20.9 KB)
py

Yep, that was it.

Thank you!!

Doh!


Thanks much!

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.

Login to post a comment