When project shared, how to force write data

10 views
Skip to first unread message

Jeff Heath

unread,
Jun 10, 2025, 5:09:17 AM6/10/25
to FLEx list
I have a Python script which can access data in a FieldWorks database. If the right project property in the database is set: Sharing >  Share project contents with programs on this computer, I can even leave the FieldWorks project open while my Python script is running.

However, I'm not sure when the data actually gets written out. I made a change to an entry, ran my script and it was still the old value. I changed entries, and did a number of other things, same result. I quit FW, and there was a dialog that popped up briefly, something about synchronizing or saving, and then my script picked up the new data. Later I ran the test again - making a change in an entry, and NOT quitting FW, and running my script, and the change showed up fine that time.

Is there anything that can be done in FW to force the writing of the data short of quitting the program?

SM

unread,
Jun 10, 2025, 10:16:46 AM6/10/25
to FLEx list
Hi Jeff

Moving to the Lists area, and then returning to the Lexicon, forces a save. One step better than quitting FW!

Reply all
Reply to author
Forward
0 new messages