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

Forms with drop down values from another table?

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


Joined: 28 Sep 2010
Posts: 1

PostPosted: Tue Sep 28, 2010 3:10 am    Post subject: Forms with drop down values from another table? Reply with quote

I'm wondering if it's possible to have:

Customers Table
- Customer ID
- Customer Name

And

Domains Table
- Domain
- Customer ID

Customers->Customer ID is related to Domains->Customer ID (1:n)

Have a form for Domains that has a field for:

Domain: Text input
Customer: Drop down with Customer Name displayed, but it inputs to the Domain table as the Customer ID.
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 Sep 28, 2010 4:10 am    Post subject: Reply with quote

Hello

I think what you want is possible.

For understanding forms see here.

There are more links what can help you.

In your case make the property for the bound field empty when you use a listbox.
The relations are important for the database but are not important how the form is working.


Romke
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