Save form?

Creating and using forms
Post Reply
slugg0
Posts: 1
Joined: Wed Jul 09, 2008 10:39 pm

Save form?

Post by slugg0 »

Hi!
I'm a neewbee att Oo, but I want to learn...
I've got Oo 2.4.1 (swedish) and WinXP..
Now here's my problem: I want to make a easily searched database for all of my recepies, and for that, i'd like a form to create my recepies from the beginning.
I've managed to create a form with all the fields, and placed a 'save'- button to it. Bur how do I do to make the button work?? -I want the text from the filled fields to be saved to some kind of "standard" page, like a HTML or something..
Thanks!
//Leffe
james1980
Posts: 8
Joined: Wed Jul 02, 2008 12:17 pm

Re: Save form?

Post by james1980 »

With the form in design mode, simply double click on the button to assign properties. Towards the bottom of the window is the 'Action' options. Select the 'Save Record' option and that should now enable your newly-created button to save each record at the click of the button. To enable you to enter details on one form, and have another 'standard' review form, you should right click on the form title (on the main page) and click copy. Position the mouse pointer just below your original form title, right click and select paste. You now have an identical copy. Simply go into this copy and click on the 'Form Navigator' button on the 'Form Design' toolbar. From here, highlight 'main form' by clicking once, then right click. Select properties, go to the data tab, then select 'Yes' next to 'Add Data Only.' This of course assumes that your original form was set up to be used to view and amend details. Then rename this form something like 'Enter New Details' or something, and from here you can use this form to enter new details and use the other (original) form for viewing, creating reports, searching, etc.
OOo 2.4.X on Ms Windows XP
Post Reply