OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

how to make a mask to view&edit the data of a spresheet?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
clemens
General User
General User


Joined: 23 Oct 2008
Posts: 21

PostPosted: Wed Jan 05, 2011 2:50 am    Post subject: how to make a mask to view&edit the data of a spresheet? Reply with quote

Hello,

I have been using calc for a while now, but I am still a newbie in its usage.
I have a spreadsheet with data that I would like to edit and increase.
The problem is that since the data in the cells can at times be long, it is not easy to navigate the whole sheet to do the necessary changes. The data itself is just text, no operations or functions, no colors, no merdged cells.
I was wondering if there was a way, through a mask or something similar to see the data one row at a time in the page (something more similar to this http://msaccess-dox.net/MS.Press-Microsoft.Office.Acce2/final/images/fig693_01_0.jpg or this http://www.evitherm.org/Files/685/FindingData_InputMask.gif rather than simply like this http://www.mobilechoice.com.au/images/iphone3g_spreadsheet.jpg).
Cheers
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Wed Jan 05, 2011 5:03 am    Post subject: Reply with quote

Do NOT use the input form offered on extensions.openoffice.org
Its quality is horrible. It may delete parts of your data without warning. It becomes counter productive when localized data or formulas are involved.

I do not understand how Excel's data form helps you to locate any data. I find it completely useless in this respect.
I use filters or the find/replace dialog (Ctrl+F) to locate data in lists. This way I can get all matching search results in one go.

Excel's data form provides some extra functionality most of its users do not even notice: It inserts new rows for records, so all references do adjust to the new list size. SUM(A1:A99) becomes SUM(A1:A100). Additionally, it detects formulas and copies down existing formulas to the newly inserted row.
Excel's data does not provide the editing features of the underlying sheet cells (auto-fill, spell check, validation).

OOo comes with a database component which provides true input forms like the ones you may know from professional software, web shops, this forum software,....
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
clemens
General User
General User


Joined: 23 Oct 2008
Posts: 21

PostPosted: Wed Jan 05, 2011 7:42 am    Post subject: Reply with quote

thank you for your reply, although I didn't understant it much.
Basically you are sayaing that it is not possible to use masks on OO since they can mess things up?
also"OOo comes with a database component which provides true input forms like the ones you may know from professional software, web shops, this forum software,...." ????

The pictures I used are just a reference to how I would like to see the data, i.e.not the information of many rows visible at the same time, partially concealed because the cell wdith is too small, but, through a mask or something, the information of one row one at a time clearly displayed, something like this:
column1 header (not editable, tellingwhat type of value it is): specific value
column2 header: specific value
column3 header: specific value
column4 header: specific value
and so on.

My data is all words and I need to check it manually, one by one, not with spellchecks, for consistency with other printed texts the data is drawn from. and as things are now it is really difficult to click on each cell every time because once I click on one and I see more text, the one of the following cell is concealed.

Cheers
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6733
Location: Kingston ON Canada

PostPosted: Wed Jan 05, 2011 10:20 am    Post subject: Reply with quote

clemens wrote:
thank you for your reply, although I didn't understant it much.
Basically you are sayaing that it is not possible to use masks on OO since they can mess things up?


I think this is what Villeroy means. He seems to think that the mask may eat some of your data. This is not a good thing Sad

You should able to find all of what you want using filters Data > Filter > etc

Quote:
also"OOo comes with a database component which provides true input forms like the ones you may know from professional software, web shops, this forum software,...." ????


It sounds like you would be much better off using a data base. Data bases are more trouble to set up but they are much more robust than a spreadsheet and they allow you to construct the types of queries and entry forms that those Excel masks seem to be trying to mimic.

Depending on how your data is arranged in Calc it probably would not be terribly difficult to load it into a data base and work from there.
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Wed Jan 05, 2011 11:09 am    Post subject: Reply with quote

The potentially disastrous input form on extesions.openoffice.org is this one: http://extensions.services.openoffice.org/en/project/DataForm
DO NOT USE THIS TRASH!

Quote:
My data is all words and I need to check it manually, one by one

But why can't you do this directly on the sheet where you can easily drag columns wider and rows higher, where you can modify the font for better readability, all things you can not do in a data form.
You can also enable automatic line breaks in cells. I never understood what makes people using that sluggish data form in Excel.

The quick and easy way to a real, user-defined data form:
Create a blank directory.
Save the spreadsheet as dBase file (*.dbf) in that directory.
File>New>Database...
Connect to existing database...
Type: dBase
Specify the directory, save the database document.
Goto the tables section
Right-click the table>Form Wizzard...
Create an input form with vertical layout.

Now you can open the form by double-click in order to edit the table data.
You can also open the form for editing (right-click>Edit). Then you see a normal Writer document where you can modify the layout of the form controls and their properties.
For instance, you can turn a single-line text box into a multi-line box:
Ctrl+Click the box
Right-click>Control...
Change the text type property to "multi-line"
Save the form (it is embedded in the database)
Save the database document.

Notice that your data are still saved in the dbf file. There are no table data in the database document. Your input is saved row by row. There is no need to save anything manually. Many other programs can handle dBase tables.
It is also possible to store the embedded input form outside the database document so you can use it like a normal file on your desktop. This requires a little bit more tweaking.
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
clemens
General User
General User


Joined: 23 Oct 2008
Posts: 21

PostPosted: Sat Jan 08, 2011 11:48 pm    Post subject: Reply with quote

Thank you for the very complete reply, I managed to use dbase and things now are exactly as I was hoping for, making it very easy to navigate through the data.
All the best,

Clemens
Back to top
View user's profile Send private message
clemens
General User
General User


Joined: 23 Oct 2008
Posts: 21

PostPosted: Tue Jan 11, 2011 12:27 pm    Post subject: Reply with quote

I have one more quesiton, if possible.
I am now working on the dbase file with the nice mask. and I realised that it would actually be useful to have some more data fields. Is there a way to add them in the tables? (then I can just make a new form to use)
I tried with the edit option of the table (table design), but the new rows I add, no matter where I add them, end up at the bottom of the list, which I know would probably work fine, but goes against the logic of the entire table, given that they become the last columns.
Is there a way to put them in other positions?
Cheers
Back to top
View user's profile Send private message
RPG
Super User
Super User


Joined: 24 Apr 2008
Posts: 2696
Location: Apeldoorn, Netherland

PostPosted: Tue Jan 11, 2011 1:18 pm    Post subject: Reply with quote

Hello

When you use a gridcontrol in your form then you can drag the columns in the order you want have.

Romke
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Tue Jan 11, 2011 4:06 pm    Post subject: Reply with quote

Open the table for editing (tables section, context menu>Edit or menu:Edit>Edit...)
There you can add as many columns as you like.
Notice that text fields have some limit for performance reasons, memo fields (long comments) are virtually unlimited and numeric types can have a maximum lenght and a fixed number of decimals behind the point.
Then open the form for editing, get toolbar "Form Design", hit button #6 and drag the new fields onto the form which creates a pair of label and text box. Again, a Ctrl+Click lets you select either the label or the text box and set its properties. Notice that the context menu can also convert a plain text box into a date field, a currency field, a combo box (auto-text), ...

Another important design tool is the form navigator (button #5 on "Form Design"). It lets you select a form and its controls more easily.
Button #7 provides a tool to change the tab order of your form. The order is completely independent from the table's order of columns.
Button #2 turns off form design mode, so you can test the form before you save, close and use it.
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group