Search found 1614 matches

by MTP
Mon Jun 18, 2018 10:11 pm
Forum: Forms
Topic: [Solved] Input extra information on form?
Replies: 4
Views: 2299

Re: Input extra information on form?

Can you upload a sample file that has had private information removed? When you press "post reply", under the white box there is a tab "Upload attachment" that will let you attach a file for us to look at.
by MTP
Tue Apr 10, 2018 9:35 pm
Forum: Calc
Topic: Charts not saved after sheet copy
Replies: 2
Views: 842

Re: Charts not saved after sheet copy

If you make a change to the copied chart before saving, does the altered chart save correctly?

If not, could you upload a sample file (all private information removed) to demonstrate the issue?
by MTP
Tue Feb 06, 2018 11:19 pm
Forum: Calc
Topic: [Solved] If column E=Admin then add value in column D
Replies: 2
Views: 686

Re: If column E=Admin then add value in column D (same row)

SUMIF (wiki page) will do what you want.

Code: Select all

SUMIF(E1:E1000;"Administration";D1:D1000)
by MTP
Tue Oct 10, 2017 9:56 pm
Forum: Base
Topic: Pre-Base table Structure
Replies: 2
Views: 1338

Re: Pre-Base table Structure

Is there a possibility one of your suppliers would have multiple phone numbers or multiple addresses? If so, you may want to split those columns off into child tables. Ditto for the customers' phones, emails, and physical addresses. I'm not sure if the child tables for city, state, and zip will be h...
by MTP
Tue Oct 10, 2017 9:08 pm
Forum: Forms
Topic: [Solved] Saving Records
Replies: 4
Views: 2375

Re: Saving Records

If you go to a different record, all the changes you made to the previous record will automatically be saved. If you 'save record', the changes will be saved without you having to change which record row you are on. Next record just goes to the next row in the table your form is based on. If you hav...
by MTP
Tue Oct 10, 2017 9:04 pm
Forum: Impress
Topic: Impress to start hidden
Replies: 3
Views: 2534

Re: Impress to start hidden

Have you tried adjusting the wait time before the .start()? If you change it to 7 seconds (7000), does it still crash?
by MTP
Fri Oct 06, 2017 8:27 pm
Forum: Impress
Topic: Impress to start hidden
Replies: 3
Views: 2534

Re: Impress to start hidden

Which line in the macro is highlighted when the crash occurs?
by MTP
Mon Sep 11, 2017 8:42 pm
Forum: Macros and UNO API
Topic: Restore default tabs in header and footer
Replies: 2
Views: 2050

Re: Restore default tabs in header and footer

Tabs are a property of the "paragraph style" (different than "page styles"). Check out Andrew Pitonyak's book OpenOffice Macros Explained (available for free download on his website ), there is a section "Paragraph properties" with a table "Properties supported by ...
by MTP
Mon Sep 11, 2017 8:24 pm
Forum: Impress
Topic: [Solved] Using Impress as a Platform
Replies: 2
Views: 2289

Re: Using Impress as a Platform

Licensing-wise you'd be fine, commercial use is allowed. I don't think the community would care. I'm not sure Impress has all the functionality you were using with PowerPoint, you would have to work on it and see.
by MTP
Mon Sep 11, 2017 8:22 pm
Forum: Calc
Topic: Can You Do This(?) - Pointing to Another Spreadsheet
Replies: 9
Views: 3205

Re: Can You Do This(?) - Pointing to Another Spreadsheet

If you are comfortable writing code, I think it could be done. You would write a macro, save it in the template, and set it up under Tools→Customize→Events→Save Document & Save Document As→Assign macro. The action of the macro would be to open the totaling spreadsheet (probably 'hidden'), check ...
by MTP
Mon Aug 21, 2017 5:57 pm
Forum: Base
Topic: [Solved] HSQLDB 2.3.3 checkpoint defrag changes all dates
Replies: 5
Views: 3547

Re: [Solved] HSQLDB 2.3.3 checkpoint defrag changes all date

I don't think it is the localhost that caused this error. It just happened to me (checkpoint defrag setting all dates to two days 1970), and running the shutdown .bat file WITH the localhost instead of the IP (and then restarting) fixed the problem. Maybe it's something about running the defrag comm...
by MTP
Wed Aug 16, 2017 4:19 pm
Forum: General Discussion
Topic: [Solved] Master Password
Replies: 2
Views: 2717

Re: Master Password

I think the OpenOffice "master password" option is for connecting to websites (e.g. if you have a stock spreadsheet that connects to a broker site to download the latest stock information). I don't think that is applicable to securing documents local to your machine. If you go into Tools→O...
by MTP
Fri Aug 11, 2017 10:21 pm
Forum: Base
Topic: Printing Labels
Replies: 5
Views: 2037

Re: Printing Labels

And everything looks correct in the Writer file? Have you tried a different printer, or a pdf printer?
by MTP
Fri Aug 11, 2017 5:58 pm
Forum: Base
Topic: Printing Labels
Replies: 5
Views: 2037

Re: Printing Labels

Are you mail merging into a Writer file? How many pages of labels are there?
by MTP
Thu Aug 10, 2017 6:00 pm
Forum: Tables & Queries
Topic: Query in HSQLDB 2.4 much slower than in 1.8
Replies: 5
Views: 3538

Re: Query in HSQLDB 2.4 much slower than in 1.8

Thank you very much for explaining that! You are absolutely correct about the 1.8 query taking a long time if Closed orders are included. The LEFT JOIN didn't help, but putting the filter for 'Open' status into a subquery sped things up to the expected runtime: SELECT "OrderNum" FROM (SELE...
by MTP
Wed Aug 09, 2017 10:42 pm
Forum: Tables & Queries
Topic: Query in HSQLDB 2.4 much slower than in 1.8
Replies: 5
Views: 3538

Re: Query in HSQLDB 2.4 much slower than in 1.8

Here is the execution plan for the 1.8 query that runs in a few seconds: org.hsqldb.Select@17eb767[ isDistintSelect=[false] isGrouped=[false] isAggregated=[false] columns=[ COLUMN ViewOfOrderStatusHist.OrderNum ] tableFilters=[ [ org.hsqldb.TableFilter@3b014c table=[SYSTEM_SUBQUERY] alias=[ViewOfOrd...
by MTP
Wed Aug 09, 2017 9:29 pm
Forum: Base
Topic: Inverting rows (top-most to bottom-most, etc)
Replies: 3
Views: 1672

Re: Inverting rows (top-most to bottom-most, etc)

With just 50 rows you can manually edit the table: double-click on it to open the table, and type the new ID numbers in like a spreadsheet. Be aware that at no time can your table ever have two rows with the same ID. So if you start with row 0 and try to change it to 50, it will give you an error me...
by MTP
Wed Aug 09, 2017 8:47 pm
Forum: Tables & Queries
Topic: Query in HSQLDB 2.4 much slower than in 1.8
Replies: 5
Views: 3538

Re: Query in HSQLDB 2.4 much slower than in 1.8

Execution plan for the 2.4 query that takes 3 minutes: isDistintSelect=[false] isGrouped=[false] isAggregated=[false] columns=[ COLUMN: PUBLIC."ViewOfOrderStatusHist"."OrderNum" nullable ] [range variable 1 join type=INNER table=FilterOrderHistory cardinality=13 access=INDEX PRED...
by MTP
Wed Aug 09, 2017 6:21 pm
Forum: Calc
Topic: Mastersheet Problems
Replies: 2
Views: 634

Re: Mastersheet Problems

What you want to do either requires learning a programming language to manipulate the spreadsheet, or learning Base. (Yes, Base cuts it for what you are asking for, the learning curve is just very steep.) Maintaining information on a lined sheet after the master is deleted, and manipulating the link...
by MTP
Wed Aug 09, 2017 6:03 pm
Forum: Tables & Queries
Topic: Query in HSQLDB 2.4 much slower than in 1.8
Replies: 5
Views: 3538

Query in HSQLDB 2.4 much slower than in 1.8

I am looking at migrating a split, multi-user database from HSQLDB 1.8 to HSQLDB 2.4. I have quickly run into an issue, however: a commonly run query that takes a couple of seconds in 1.8 is taking about 3 minutes in 2.4. The query for 1.8: SELECT "OrderNum" FROM "ViewOfOrderStatusHis...
by MTP
Wed Aug 02, 2017 9:48 pm
Forum: Calc
Topic: [Solved] Spreadsheet opening as blank sheet
Replies: 3
Views: 1947

Re: Spreadsheet opening as blank sheet

It sounds like your file was corrupted. If you have a backup system, that would be the best-case to recover your work.

Otherwise, you might look into file recovery programs such as Recuva.
by MTP
Wed Aug 02, 2017 9:47 pm
Forum: Base
Topic: Form keep adding new record when modifying an entry
Replies: 2
Views: 1203

Re: Form keep adding new record when modifying an entry

Can you upload your file, or an example file with any private information removed? If you press the "PostReply" button, under the text box there is an "Upload attachment" form.
by MTP
Tue Aug 01, 2017 9:06 pm
Forum: Base
Topic: Questioning my plan
Replies: 5
Views: 1749

Re: Questioning my plan

The default database engine that comes with Base is an old version of Hyper-SQL DataBase (HSQLDB) that is not internet-accessible. Base itself is not particularly user-friendly, but it is doable for persistant users, and generally worthwhile for small projects where paying for a professional program...
by MTP
Thu Feb 02, 2017 6:04 pm
Forum: Tables & Queries
Topic: Result is 0 !!!
Replies: 18
Views: 8611

Re: Result is 0 !!!

there are no entries in "IN" There is your explanation. SUM of a NULL value is NULL. 100 - NULL = NULL If your table has at least one entry and A or B values (or both) have the possibility of being NULL you need to use COALESCE as Villeroy posted for you earlier. If the table might be emp...
by MTP
Wed Feb 01, 2017 10:05 pm
Forum: Base
Topic: Move table information via button
Replies: 3
Views: 1492

Re: Move table information via button

You can have both "SoldDate" and "SoldTo" columns in the inventory table. To look up all machines sold to a particular customer by CustomerID: SELECT * FROM "Inventory" WHERE "SoldTo" = 5 or by CustomerName: SELECT * FROM "Inventory" INNER JOIN "...
by MTP
Wed Feb 01, 2017 10:02 pm
Forum: Tables & Queries
Topic: Result is 0 !!!
Replies: 18
Views: 8611

Re: Result is 0 !!!

The query you posted gives me a syntax error and will not run. This:

Code: Select all

SELECT 100 - SUM("A" - "B" ) FROM "IN"
gives the expected result.

Are you using a different backend than the default HSQLDB? What query are you actually running (since the posted one won't compile)?
by MTP
Wed Feb 01, 2017 6:52 pm
Forum: Base
Topic: Move table information via button
Replies: 3
Views: 1492

Re: Move table information via button

Sure, if you learn how to program macros that execute SQL code. It's a bit of a steep learning curve for the benefit, though. Why not instead have a column in your inventory table named "Sold" that stores the sell date? Then to check your current inventory you run the query SELECT * FROM &...
by MTP
Wed Feb 01, 2017 6:50 pm
Forum: Tables & Queries
Topic: Result is 0 !!!
Replies: 18
Views: 8611

Re: Result is 0 !!!

Is this a snippet from a larger query? There might be some type conversion going on that's not obvious from the snippet.

Also, just to check, what are the field types of A and B?
by MTP
Mon Jan 30, 2017 4:23 pm
Forum: Base
Topic: Data representing another data
Replies: 16
Views: 3969

Re: Data representing another data

Maybe this is what you are looking for?

Code: Select all

SELECT "Type Name", "Jersey Type" FROM "Jersey Type" ORDER BY "Type Name"
by MTP
Fri Jan 27, 2017 4:32 pm
Forum: Calc
Topic: Update database cells using Calc, is it possible?
Replies: 3
Views: 916

Re: Update database cells using Calc, is it possible?

There are more detailed directions in this thread: [Tutorial] Standalone Forms / Switchboard