Re: [Harbour-users] Re: Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

2010-02-15 Thread Agustianes Umbara Suwardi
I don't know about Excel, but you can export your table as CSV that can 
be read by Excel or OOffice:


DbSelect('yourtable')
copy to exported.csv delimited

I usually export the table to CSV and then copy-paste it to Spreadsheet 
templates. It's a double effort but it works on me.


On 02/16/2010 05:39 AM, Angel Pais wrote:

El 15/02/2010 19:49, Guillermo Varona Silupú escribió:

Hola,
Se puede generar desde harbour archivos Excel desde Linux nativo.
¿Es posible esto?
¿Cómo?

[By Google]
Hi,
Can be generated from harbor native Excel files from Linux.
Is it possible?
How?

TIA

BestRegards
GVS


Hint: Excel and OO read html tables

HTH
Angel

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour-users] Re: Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

2010-02-15 Thread Angel Pais

El 15/02/2010 19:49, Guillermo Varona Silupú escribió:

Hola,
Se puede generar desde harbour archivos Excel desde Linux nativo.
¿Es posible esto?
¿Cómo?

[By Google]
Hi,
Can be generated from harbor native Excel files from Linux.
Is it possible?
How?

TIA

BestRegards
GVS


Hint: Excel and OO read html tables

HTH
Angel

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour-users] Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

2010-02-15 Thread Guillermo Varona Silupú

Hola,
Se puede generar desde harbour archivos Excel desde Linux nativo.
¿Es posible esto?
¿Cómo?

[By Google]
Hi,
Can be generated from harbor native Excel files from Linux.
Is it possible?
How?

TIA

BestRegards
GVS

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


Re: [Harbour-users] Class method support in 2.1.0dev

2010-02-15 Thread Daniel Gonçalves
You're absolutely right! I apologize for not try this simple example
before make the noise!
I wrote a simple teste [1] and worked fine. Now I need to investigate
why my code (written exactly same way) doesn't work and why the error
message "no exported method: new()".

[1] http://paste.pocoo.org/show/178211/

Thank you, Przemek!
Best regards.

2010/2/15 Przemysław Czerpak :
> On Mon, 15 Feb 2010, Daniel Gonçalves wrote:
>> I came from Clipper/Class(y) and Java tecnologies. I code for example:
>>
>> CREATE CLASS Foo INHERIT Bar, Hat
>>    EXPORT:
>>       METHOD init CONSTRUCTOR
>>    ...
>> METHOD init( x, y, z )
>>    ::Bar:init( x, y ) // initialize the super class Bar
>>    ::Hat:init() // initialize the super class Hat
>>    ...
>> This doesn't work anymore. The run-time says that there's no exported
>> method new() in the code that uses class Foo, for example. I've a lot
>> (i mean it) of legacy code that will not work. Is there any solution
>> or a reference?
>
> Such code works without any problems.
>
> If you need help then please create self contain example which
> illustrates the problem.
>
> best regards,
> Przemek
> ___
> Harbour-users mailing list (attachment size limit: 40KB)
> Harbour-users@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>
>



-- 
Daniel Gonçalves
Base4 Sistemas Ltda.
[www.base4.com.br]
[twitter.com/spanazzi]
___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


Re: [Harbour-users] Class method support in 2.1.0dev

2010-02-15 Thread Przemysław Czerpak
On Mon, 15 Feb 2010, Daniel Gonçalves wrote:
> I came from Clipper/Class(y) and Java tecnologies. I code for example:
> 
> CREATE CLASS Foo INHERIT Bar, Hat
>EXPORT:
>   METHOD init CONSTRUCTOR
>...
> METHOD init( x, y, z )
>::Bar:init( x, y ) // initialize the super class Bar
>::Hat:init() // initialize the super class Hat
>...
> This doesn't work anymore. The run-time says that there's no exported
> method new() in the code that uses class Foo, for example. I've a lot
> (i mean it) of legacy code that will not work. Is there any solution
> or a reference?

Such code works without any problems.

If you need help then please create self contain example which
illustrates the problem.

best regards,
Przemek
___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


Re: [Harbour-users] Class method support in 2.1.0dev

2010-02-15 Thread Daniel Gonçalves
>
> Neither Harbour nor xHarbour support CLASS METHODs.
> In xHarbour they are translated to normal method and in Harbour
> they are ignored.
> If you want to replicate xHarbour behavior using Harbour add this
> PP rule to your code:
>
>   #xcommand CLASS METHOD <*params*>  => METHOD 
>

Hi! Thank you. Your solution works, but...
I came from Clipper/Class(y) and Java tecnologies. I code for example:

CREATE CLASS Foo INHERIT Bar, Hat
   EXPORT:
  METHOD init CONSTRUCTOR
   ...

METHOD init( x, y, z )
   ::Bar:init( x, y ) // initialize the super class Bar
   ::Hat:init() // initialize the super class Hat
   ...

This doesn't work anymore. The run-time says that there's no exported
method new() in the code that uses class Foo, for example. I've a lot
(i mean it) of legacy code that will not work. Is there any solution
or a reference?

Thanks in advance!

-- 
Daniel Gonçalves
Base4 Sistemas Ltda.
[www.base4.com.br]
[twitter.com/spanazzi]
___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users