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


Yes, now is works, but i can't insert new record in filter form.

sub pega( oev as variant)
Dim Filter As String
dim odoc,odoc2,oform2,oform as Object
 odoc=thiscomponent
  oform=odoc.drawpage.forms.
getbyindex(0)

  'pega o dado da primeira linha(=index =campo Cad no meu caso) do registro
atual
  myindex=oform.getstring(1)

 'ThisDatabaseDocument.FormDocuments.getByName( "animal3" ).open
oform2=ThisDatabaseDocument.FormDocuments.getByName( "animal3" )
oform2.Open
oform2 = oform2.Component.DrawPage.Forms.getbyindex(0)

  'define o filtro para achar os registros

        oform2.filter ="animal3.Cad ='" & myindex &"'"
        oform2.ApplyFilter= True
        oform2.reload

End Sub


2011/8/5 rogerio dandrea <rolemosda@gmail.com>

the basetools extension (0.0.5) works in libreoffice 3.4.2 ?




2011/8/4 rogerio dandrea <rolemosda@gmail.com>

well now

with 3.4.2
ubuntu11.04 64bits
and use hsql

 now I have error mensage in filter Why?


2011/7/29 rogerio dandrea <rolemosda@gmail.com>

Alex ,
 thank you.
I will return to the problem when version 3.4.2 is launched (in july)




2011/7/28 Alexander Thurgood <alex.thurgood@gmail.com>

Le 28/07/11 22:11, rogerio dandrea a écrit :

Hi Rogerio,


Sorry if this is a silly question but, how do I switch the focus from
one
form to another?


I actually looked this up on the OpenOffice.org forum, but I can't find
the link to the post anymore. There might also be a bug in LibreOffice
that prevents the form from reloading. I seem to recall having seen
something similar somewhere, because the filter.appply = true and
form.reload used to work with OpenOffice.org.


Alex





--
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






-- 
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

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.