Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hallo,

unter LibreOffice (Original) 6.1.5.2 habe ich ein Formular, welches in einem Grafischen Steuerelement ein Bild anzeigen soll, dessen Dateiname (und zum Test auch Pfad) in der der Formular-Abfrage zugrunde liegenden Tabelle gespeichert ist. Die Tabelle hat die Felder ID, PfadName, BildName und zwei Datensätze:
ID   PfadName               BildName
1    /mnt/Daten/Bild1.jpg Bild1.jpg
2 /mnt/Daten/Bild2.jpg   Bild2.jpg

Das Problem:
Grafik-Element Datenfeld == PfadName     --> Bildanzeige funktioniert,
Grafik-Element Datenfeld == FileNamePfad --> keine Bildanzeige.

Die Abfrage zum Formular:
SELECT "ID", "PfadName", "BildName", CONCAT('/mnt/Daten/',"BildName") AS "FileNamePfad" from "SandBox".Test (AS wird vom LO-SQL-Editor gelöscht, der CONCAT-Strng wird verändert von
        Eingabe: CONCAT('/mnt/Daten/', "BildName")
erneute Anzeige: CONCAT('/mnt/Daten/', [BildName]).

Das Ergebnis des CONCAT-String wird in einem Test-Textfeld richtig angezeigt: Inhalte des Testfeldes und txtPfadname sind identisch. Trotzdem erfolgt mit CONCAT keine Bildanzeige.

Wie kann ich das Problem weiter eingrenzen bzw. abstellen? Hintergrund: Alle Bilder zu diesem Formular liegen definitiv in einem Verzeichnis; daher macht es keinen Sinn, für jeden Datensatz das Verzeichnis mit in die Tabelle zu packen.

Danke, Michael


--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy

Context


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 Mozilla Public License (MPLv2). "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.