[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libreoffice-users] Re: helper columns in Base - SQL query based on a value of a particular column of current element.
[Thread Prev] | [Thread Next]
- Subject: [libreoffice-users] Re: helper columns in Base - SQL query based on a value of a particular column of current element.
- From: Andreas Säger <villeroy@t-online.de>
- Date: Mon, 08 Aug 2011 17:44:42 +0200
- To: users@global.libreoffice.org
Am 08.08.2011 10:24, 3flight wrote:
SELECT "Components - Types"."Parameter" FROM "Components", "Components -
Types" WHERE "Components"."Type" = "Components - Types"."ID"
It is as simple as:
SELECT "Parameter","ID" FROM "Components - Types" ORDER BY "Parameter"
with "Parameter" as visible field (index 0) and "ID" (index 1) being the bound field. If your form is bound to table "Components", then "Components"."Type" might be the data field where you write the selected ID value to.
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
| [libreoffice-users] helper columns in Base - SQL query based on a value of a particular column of current element. | 3flight <dmitry.sutyagin@greenpeace.org> |
- Prev by Date: [libreoffice-users] Re: LibreOffice base - cannot make a convenient form to add data
- Next by Date: Re: [libreoffice-users] Permanent state of recovery with non-existent document
- Previous by thread: [libreoffice-users] Re: helper columns in Base - SQL query based on a value of a particular column of current element.
- Next by thread: [libreoffice-users] doc-files
- Index(es):
Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.