Ask Your Question
0

Syncing BASE form data [closed]

asked 2014-08-18 18:10:08 +0200

kgriffiths gravatar image

updated 2016-03-03 10:38:11 +0200

Alex Kemp gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-03 10:38:21.788430

1 Answer

Sort by » oldest newest most voted
0

answered 2014-08-29 21:42:54 +0200

kgriffiths gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-18 18:10:08 +0200

Seen: 115 times

Last updated: Aug 29 '14