Hallo Jochen,
>
> 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
Versuch einmal sFilterstring = oComboBox.getCurrentValue()
alternativ geht sicher auch
sFilterstring = TRIM(oCombobox.Text)
>
> 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.
Gruß
Robert
--
Informationen zum Abmelden: E-Mail an [email protected]
Probleme?
http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert