Search found 31049 matches

by Villeroy
Sat Apr 13, 2024 6:45 pm
Forum: Base
Topic: Convert server database to embedded
Replies: 3
Views: 306

Re: Convert server database to embedded

Create a new embedded HSQLDB.
Try running the CREATE statements of your script file. If this works, you get all the tables, relations and indices.
Copy the data.
Copy queries forms and reports.
by Villeroy
Sat Apr 13, 2024 3:34 pm
Forum: Base
Topic: Convert server database to embedded
Replies: 3
Views: 306

Re: Convert server database to embedded

This is a backup script for Windows which safely backups the database without stopping the service. Adjust the absolute paths and names. Start it from the Windows task scheduler. REM Backup one database SET DBN=MyDatabase SET HOST=192.168.1.1 SET BDIR=E:\hsql\database\backups\ SET URL=jdbc:hsqldb:hs...
by Villeroy
Mon Apr 08, 2024 7:25 pm
Forum: Calc
Topic: [Solved] Extract numbers from a string of alphanumeric text
Replies: 27
Views: 94065

Re: [Solved] Extract numbers from a string of alphanumeric text

LibreOffice only: =REGEX(A1;"([^[:alpha:]])+")
by Villeroy
Fri Apr 05, 2024 6:43 pm
Forum: Calc
Topic: [Solved] Identify presence of text in a cell
Replies: 2
Views: 465

Re: Identify presence of text in a cell

=ISNUMBER(FIND("1920";A1))
by Villeroy
Tue Apr 02, 2024 9:16 pm
Forum: MS Windows
Topic: [Solved] What is the JRE location?
Replies: 26
Views: 2368

Re: JRE location

OpenOffice is walking dead. Replace it with LibreOffice which is the actively maintained successor to OpenOffice but still very much like OpenOffice. https://www.libreoffice.org/discover/libreoffice-vs-openoffice/ Anything related to macros does not require any Java. There is hardly anything in Libr...
by Villeroy
Tue Apr 02, 2024 8:57 pm
Forum: Calc
Topic: [Solved] Search and index - then fill
Replies: 8
Views: 825

Re: Search and index - then fill

Just open the database document and open the form(s).
by Villeroy
Tue Apr 02, 2024 8:47 pm
Forum: Calc
Topic: [Solved] Search and index - then fill
Replies: 8
Views: 825

Re: Search and index - then fill

Forget the database.
by Villeroy
Tue Apr 02, 2024 8:29 pm
Forum: Calc
Topic: [Solved] Search and index - then fill
Replies: 8
Views: 825

Re: Search and index - then fill

by Villeroy
Tue Apr 02, 2024 7:56 pm
Forum: Calc
Topic: [Solved] Search and index - then fill
Replies: 8
Views: 825

Re: Search and index - then fill

This office suite comes with a database component.
by Villeroy
Mon Mar 25, 2024 10:09 pm
Forum: Macros and UNO API
Topic: Need a macro to change percent in cell to value*100
Replies: 4
Views: 739

Re: Need a Macro to change Percent in Cell to Value*100

Find/Replace % with nothing and you get the decimal cell value.
by Villeroy
Thu Mar 21, 2024 8:21 pm
Forum: Calc
Topic: Hyperlink to today's date
Replies: 18
Views: 1548

Re: Hyperlink to today's date

t111375.ods
(21.62 KiB) Downloaded 32 times
by Villeroy
Tue Mar 19, 2024 10:30 pm
Forum: Tables & Queries
Topic: [Solved] SQL Query: Need "Time" + "MinuteLen" as "EndTime"
Replies: 10
Views: 941

Re: [Solved] SQL Query: Need "Time" + "MinuteLen" as "EndTime"

Any operation with a Null value returns Null.
by Villeroy
Tue Mar 19, 2024 8:02 pm
Forum: Tables & Queries
Topic: [Solved] SQL Query: Need "Time" + "MinuteLen" as "EndTime"
Replies: 10
Views: 941

Re: SQL Query: Need "Time" + "MinuteLen" as "EndTime"

Embedded HSQL does not have a DateAdd function like most other database engines have. As a work-around, you can calculate the day fractions and add them as you would do in a spreadsheet. A formatted control on a form or report can display this value as a time. SELECT *, Hour("Time")/24 + M...
by Villeroy
Tue Mar 19, 2024 12:56 pm
Forum: Calc
Topic: [Solved] Set chart Data Rages from cell value
Replies: 2
Views: 677

Re: Change range of cells automatically

Tools>Options>Calc>"Expand references when rows/columns are inserted " = ON Now you can insert new cells anywhere within or directly below the referenced range and all references in formulas, names, charts, conditional formatting etc. will expand automatically. With that setting turned off...
by Villeroy
Fri Mar 15, 2024 10:01 am
Forum: Writer
Topic: Merge documents from your Thunderbird address book
Replies: 12
Views: 959

Re: Merge documents from your Thunderbird address book

Hi guy, Didn't you notice that the user can merge emails simply by activating the Option menu? Is your extension by the way really necessary? Regards Nick In the LibreOffice options, you can specify your outgoing SMTP Server with log-in credentials. However, this feature is broken currently. You ca...
by Villeroy
Fri Mar 08, 2024 1:36 pm
Forum: Macros and UNO API
Topic: Get all Annotations/Comments/Notes
Replies: 17
Views: 2111

Re: Get all Annotations/Comments/Notes

Annotations are special types of TextFields. MRI records the following:

Code: Select all

Sub Snippet
  
  oTextFields = ThisComponent.getTextFields()
  oObj2 = oTextFields.createEnumeration()
  
  oObj3 = oObj2.nextElement()
End Sub
[Tutorial] Introduction into object inspection with MRI
by Villeroy
Wed Mar 06, 2024 7:56 pm
Forum: Extensions
Topic: SQLite in LibreOffice / OpenOffice Base
Replies: 19
Views: 7192

Re: SQLite in LibreOffice / OpenOffice Base

psilocybe wrote: Wed Mar 06, 2024 4:38 am You have to install by hand...
Can I simply replace the old jars with the niew ones?
Why does the old version install cleanly but not the new one?
by Villeroy
Tue Mar 05, 2024 6:41 pm
Forum: Extensions
Topic: SQLite in LibreOffice / OpenOffice Base
Replies: 19
Views: 7192

Re: SQLite in LibreOffice / OpenOffice Base

Trying to update from 1.1.5 to 1.2.2 on Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11 Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded Error while installing extension jdbcDriver...
by Villeroy
Sun Mar 03, 2024 8:05 pm
Forum: Calc
Topic: [Solved] 03/04/24 changed to ¾ 24 (fraction)
Replies: 5
Views: 914

Re: Can't format cells for date

Hello Sir, I've seen for myself. Please find enclosed test file. Regards Nick Your column A uses the default locale, which is German(Germany) in my case and the dates are displayed like 31.12.99 here. If your default locale is English(UK), 31/12/99 might be the displayed date. Column B uses English...
by Villeroy
Sun Feb 25, 2024 11:50 pm
Forum: Forms
Topic: [Solved] Form control filter by date
Replies: 22
Views: 20518

Re: [Solved] Form control filter by date

How to filter by criteria in form controls without any macro: http://forum.openoffice.org/en/forum/do ... p?id=11663 (search this forum for "power filtering").

LibreOffice canceled the integer dates and times in favor of date and time structs.
by Villeroy
Tue Feb 20, 2024 4:53 pm
Forum: Calc
Topic: [Solved] LOOKUP in LO Calc
Replies: 3
Views: 727

Re: LOOKUP in LO Calc

LOOKUP in LO Calc It's the same LOOKUP function since the very first version of Visicalc in the year 1979 and successive spreadsheet applications such as Lotus 1-2-3, Excel and Calc. LOOKUP never did what most users expect it to do. In your specific example =CODE(D1)-43 returns a correct result wit...
by Villeroy
Mon Feb 19, 2024 9:05 pm
Forum: Extensions
Topic: SQLite in LibreOffice / OpenOffice Base
Replies: 19
Views: 7192

Re: SQLite in LibreOffice / OpenOffice Base

By the way, "OOo" in the name jdbcDriverOOo is misleading for two reasons. "OOo" refers to the product "OpenOffice.org" which was named after the website hosted by Sun Microsystems. - Since 2011 the product name is Apache OpenOffice (AOO). - Your package is incompatible...
by Villeroy
Sat Feb 17, 2024 6:34 pm
Forum: Extensions
Topic: SQLite in LibreOffice / OpenOffice Base
Replies: 19
Views: 7192

Re: SQLite in LibreOffice / OpenOffice Base

Somehow, the Thunderbird application grabs all access rights, no matter if it is started before or after LO Base. The Base frontend gets into some "frozen" state when TB is running. My problem is, that I can not open the database in read-only mode, so it does not interfere with TB in any w...
by Villeroy
Mon Feb 12, 2024 5:04 pm
Forum: Extensions
Topic: SQLite in LibreOffice / OpenOffice Base
Replies: 19
Views: 7192

Re: SQLite in LibreOffice / OpenOffice Base

Great job. This driver allows me to access the contacts database of the Thunderbird mail client without too many issues. Can you tell me if it is possible to establish a read-only connection? If I load the database document after the Thunderbird client, the database is locked (does not show any tabl...
by Villeroy
Thu Feb 08, 2024 9:31 pm
Forum: Calc
Topic: [Solved+Issue] Date format and date entry do not match
Replies: 17
Views: 2237

Re: Date format and date entry do not match

The locale is the relevant setting. You can set it for the entire office document, for cells and cell ranges, text fields, for anything numeric in templates for documents. How to enter a date in a spreadsheet cell (Calc, Excel and others): 1/ enters the first day of current month 1/2/ enters this ye...
by Villeroy
Tue Feb 06, 2024 8:51 pm
Forum: Base
Topic: Updating records from a query again, again
Replies: 14
Views: 2069

Re: Updating records from a query again, again

open_mike wrote: Tue Feb 06, 2024 7:49 pm To recap, my goal is to have the answer field in Table1 populated with the results of value1 + value2
Makes no sense. Why do you store a calculation result? When you change value1 or value2, the stored sum will not update.
by Villeroy
Mon Jan 29, 2024 7:09 pm
Forum: Macros and UNO API
Topic: [Solved] [Basic] Replace Sheet with a new one
Replies: 4
Views: 1452

Re: [Basic] Replace Sheet with a new one

Use a document template.
by Villeroy
Thu Jan 25, 2024 6:23 pm
Forum: Forms
Topic: [Solved] Subform From Query Not Linking with Mainform Record
Replies: 5
Views: 1262

Re: Subform From Query Not Linking with Mainform Record

One-to-many and many-to-many relations in tables, queries and forms with subforms and lisboxes.: download/file.php?id=11250