Hallo *,
Folgendes sei gesetzt:
Formular in Base
Kombinationsfeld als Kontrollfeld
Makro, das einen "Text" aus diesem Kontrollfeld holt:
oComboBox = oForm.getByName("SuchBox") 'Combobox holen
sFilterstring = oComboBox.Text 'Text holen
Problem:
oComboBox.Text zieht bei mir nicht den Text als Solches, sondern den Text und rechts davon stehende Leerzeichen, also z.B.
"Probetext " und nicht "Probetext".
Diese Problem hat Folgen, da eine folgende Suchfunktion nicht richtig funktioniert.
Kann mir jemand sagen, wie ich erreichen kann, dass nur der Text gezogen werden kann.
LO: LibreOffice 3.4.5 OOO340m1 (Build:502)
OS: Windows 7 Prof 64 Bit
Gruß
Jochen