Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-09 Thread michael . vancanneyt
On Tue, 8 Nov 2011, nore...@z505.com wrote: Has anyone got Ioda 1.3 fulltext search project working? I have it working. Every time I try version 1.3 it doesn't seem to find any words in a file that is indexed when I try a simple demo with it. The project IODA is here:

Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-09 Thread Graeme Geldenhuys
On 9 November 2011 10:40, michael.vancanneyt@. wrote: It definitely works, I also use it in a commercial project to implement full-text-search on a firebird database. Now that would be pretty awesome! :) -- Regards,   - Graeme - ___ fpGUI -

Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-09 Thread michael . vancanneyt
On Wed, 9 Nov 2011, Graeme Geldenhuys wrote: On 9 November 2011 10:40, michael.vancanneyt@. wrote: It definitely works, I also use it in a commercial project to implement full-text-search on a firebird database. Now that would be pretty awesome! :) It is. When I showed it to the

Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-09 Thread Graeme Geldenhuys
On 9 November 2011 11:34, michael.vancanneyt@ wrote: It is. When I showed it to the customers, they were very impressed :-) (considering their question was 'we want to do like google search but on the database') I've been wanting to improve the WebNews interface to the tiOPF and fpGUI

Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-09 Thread Marcos Douglas
On Wed, Nov 9, 2011 at 6:59 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 9 November 2011 11:34,  michael.vancanneyt@ wrote: It is. When I showed it to the customers, they were very impressed :-) (considering their question was 'we want to do like google search but on the

Re: [fpc-pascal] Generics vs TCollection

2011-11-09 Thread tcoq
It's also possible to create a generic descendent of TCollection, where the only duplicated code is the property override. This is probably the best of both worlds: reusing the TCollection while moving to generics. Best regards Thierry - Mail Original - De: michael vancanneyt

[fpc-pascal] Database access in console program

2011-11-09 Thread Koenraad Lelong
Hi, I don't know if it's the right place to ask, maybe it's for the lazarus list. Anyway, I'm trying to make a console-application that writes data to a Firebird database. With Lazarus I created a console application. I seem to be able to connect and open the table, but I can't insert data.

Re: [fpc-pascal] Database access in console program

2011-11-09 Thread michael . vancanneyt
On Wed, 9 Nov 2011, Koenraad Lelong wrote: Hi, I don't know if it's the right place to ask, maybe it's for the lazarus list. When I insert values I do : myTable.Params.ParamByName('Field1').Value:='Value1'; myTable.Params.ParamByName('Field2').Value:='Value2'; This should be:

Re: [fpc-pascal] Database access in console program

2011-11-09 Thread Koenraad Lelong
On 09-11-11 18:02, michael.vancann...@wisa.be wrote: ... This should be: MyTable.Append; MyTable.FieldByname('Field1').AsString:='Value1'; MyTable.FieldByname('Field2').AsString:='Value2'; MyTable.Post; MyTable.Applyupdates; Thanks, That worked. And I remember using this before. Thanks,

Re: [fpc-pascal] Generics vs TCollection

2011-11-09 Thread Felipe Monteiro de Carvalho
In my experience generics are very good, but they are not without problems. There are some limitations in the implementation and I have already hit some bumps in the road when using them (search the mailling list, I don't remember exactly the issues) But I can't compare them to collections,

Re: [fpc-pascal] Generics vs TCollection

2011-11-09 Thread Michael Van Canneyt
On Wed, 9 Nov 2011, tcoq wrote: It's also possible to create a generic descendent of TCollection, where the only duplicated code is the property override. This is probably the best of both worlds: reusing the TCollection while moving to generics. Hm. I fail to see this: Where is the gain

Re: [fpc-pascal] The best approaching for templating

2011-11-09 Thread tcoq
Dear Luciano. I would suggest using the StringReplace function (Sysutiles) in combination with a TStringList. Easy to do and quite powerful. You can also use a second string list to store the values and patterns to replace, using the Names and Values properties, so that you can do multiple

Re: [fpc-pascal] The best approaching for templating

2011-11-09 Thread Jorge Aldo G. de F. Junior
I once wrote a very nice template system for Powutils. Dont remember how it was called. I can search the svn for you if you want. 2011/11/9 tcoq t...@free.fr: Dear Luciano. I would suggest using the StringReplace function (Sysutiles) in combination with a TStringList. Easy to do and quite

Re: [fpc-pascal] The best approaching for templating

2011-11-09 Thread ABorka
On 11/9/2011 14:27, tcoq wrote: Dear Luciano. I would suggest using the StringReplace function (Sysutiles) in combination with a TStringList. Easy to do and quite powerful. You can also use a second string list to store the values and patterns to replace, using the Names and Values properties,