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

probably easy: populate list box with data from other table

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


Joined: 21 Jun 2004
Posts: 4140
Location: Colorado, USA

PostPosted: Fri Jul 01, 2005 2:56 pm    Post subject: probably easy: populate list box with data from other table Reply with quote

Say I have tables called Contacts and Employees. The table for Contacts has a field called assigned_employee_id (integer) that refers to a row in Employees.

In a form for Contacts, how do I setup a list box populated with list of names from Employees? The form displays the names of the employees, but it stores the emloyee's primary key in the Contacts table.

I am looking at List Box Properties: Data. Would I use a table? If so, what is "bound field"? Why are "bound field" options given as numbers, not field names in the specified table?

Confused
Back to top
View user's profile Send private message Visit poster's website
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