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

sql/basic question

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
cassio
Newbie
Newbie


Joined: 29 Apr 2011
Posts: 3

PostPosted: Fri Apr 29, 2011 10:58 am    Post subject: sql/basic question Reply with quote

I have two fields in my form (combo boxes) and when I select them and press a button I want to jump to the form entry where those fields exist. How would I do this? I have basetools downloaded already, and I think what I want is a macro.

--Sam
Back to top
View user's profile Send private message
sainttomn
OOo Enthusiast
OOo Enthusiast


Joined: 18 Feb 2011
Posts: 131
Location: Two gangster planets and a cowboy world

PostPosted: Fri Apr 29, 2011 2:03 pm    Post subject: Reply with quote

Hi Sam, welcome to the forum.

I think we may need a little more information about your form to be able to assist.
_________________
"I'm a loner, Dottie. A rebel."
[Windows 7] [OO.o 3.3] [HSQL 1.8]

The Lazer Cat
Back to top
View user's profile Send private message Visit poster's website
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Fri Apr 29, 2011 2:24 pm    Post subject: Reply with quote

Both macros and combo boxes are the least useful things in Base.
In form design mode set property "Filter Proposal" for your text fields.
While working with the form, turn on the form filter mode. Now your text fields turn into list boxes where you select your filter criteria.

All about macro free filters: http://dl.dropbox.com/u/10552709/FilterExamples.zip
_________________
Rest in peace, oooforum.org
Get help on http://forum.openoffice.org
Back to top
View user's profile Send private message
cassio
Newbie
Newbie


Joined: 29 Apr 2011
Posts: 3

PostPosted: Fri Apr 29, 2011 3:31 pm    Post subject: Reply with quote

That's very helpful. I will do that. What other information do you need from me in order to assist? I basically want to be able to jump to a specific record when a button is pushed as corresponding to the selected filter/form data.
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10065
Location: Germany

PostPosted: Fri Apr 29, 2011 11:42 pm    Post subject: Reply with quote

There is a search tool (binocular icon) which jumps to records according to search criteria.
You can not jump to specific records if your records unspecific in respect to the used criteria fields. If they are specific, a filter takes you to any specific record.
_________________
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 Base 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