質問する

kgriffiths's profile - activity

2018-04-03 01:50:20 +0200 バッジを受け取った  体系学者
2016-03-03 10:37:47 +0200 バッジを受け取った  有名な質問 (source)
2014-09-01 20:44:53 +0200 バッジを受け取った  卓越した質問 (source)
2014-08-29 23:05:23 +0200 バッジを受け取った  人気の質問 (source)
2014-08-29 21:42:54 +0200 質問に回答する Syncing BASE form data

This isn't an answer to the syncing question per se but the macro worked better if I put a small delay between ResultSet.Next and ResultSet.getString. Apparently that gave it enough time to load the data record correctly before retrieving the field I was processing.

2014-08-19 19:14:54 +0200 質問に回答する How can i get Base to display correct number of records?

If you're always working on the same database (or want to go through this trouble on any database you work with) you could add a macro on Form Open to force BASE to jump out to the last record and then jump back. Something like this... dispatcher.executeDispatch(document, ".uno:LastRecord","",0,Array()) and then dispatcher.executeDispatch(document, ".uno:FirstRecord","",0,Array())

2014-08-18 19:10:03 +0200 バッジを受け取った  編集者 (source)
2014-08-18 18:10:08 +0200 質問をする Syncing BASE form data

I am using LibreOffice BASE with a form and a basic macro to generate pdf files from a simple database. Something akin to mail merge. For the most part it works but sometimes the data in the generated file doesn't match which record should have been retrieved in the form with the ResultSet.getString macro command. Is there a macro command that syncs or overtly loads the data before I proceed to print. This is LibreOffice 4.0 running on RHEL6.