Dropdown list in one table taken from another table

Libre Office Version: 4.3.5.2

I have have created 3 tables: SOURCE, METHODS OF PAYMENT, PAYMENTS. I want to have the filed payment_methods in PAYMENTS be a dropdown list based on the METHODS OF PAYMENTS field payment_methods. Any help will be appreciated.

Steve J.

Steve:

You may do what you want using either a LIST BOX or a COMBO BOX in your form. Both controls will show a selectable dropdown menu with list of values from the ‘foreign’ table (i.e. the MethodOfPayment table).

But note the difference: a LIST BOX usually is setup to write the ID number (PK) of the chosen item as a foreign key (FK) in the current row of your Payments table, whereas a COMBO BOX will simply write the value of the choice (i.e. the payment method chosen) into the selected row of the Payments table. See THIS THREAD for more info (especially the post by DACM).

Use the validation tool ( > ‘Data’ > ‘Validity’ ) with ‘Cell range’ …

Sorry! I seem to tend to interpret any question as one about Calc even if expressly tagged otherwise.

This does not seem to be relevant to the original question (and it seems to be about Calc and not Base).