Christian,

 

I was interested in what you are trying to accomplish so I read the HELP on 
currency.  I do not know what your settings are for the RBASE database you work 
with, but I would assume if you set up your database with your currency 
settings by changing the Settings "A" and setting your Suffix to Kr, you would 
get your desired results with your export.

 

Help states:

 

For example, to display currency in two digits with a prefix of DM (deutsche 
marks) with the display format A, at the R> prompt, enter

SET DELIMIT=!  

SET CURRENCY DM PREF 2 A

This command displays 1,500 deutsche marks and 25 pfennigs in the format like 
this:  

DM 1.500,25.

 

Jim

 

 

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of christian 
hjortmar
Sent: Wednesday, June 10, 2009 3:22 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - SV: gateway export and Specification_file_name

 

Thank you, Gunnar!

Well, I have tried the first half of what you have written, ie, have a 
predefined excelsheet. The ODBC thing I haven't tried, though.

At one point I thought it was about delimiters. USA have a dot as a decimal 
delimiter while here in Sweden a comma is the norm.

 

What I want to send out from my R:Base application is for example "cust_no, 
order_no, a_total", (4058,23456,'234.45Kr').

It must not be an excelfile, a textfile would do.

 

Thing is, at work, I have complained about consultants not providing easy ways 
of emptying their applications when they for some reason get obsolete.

So the application I am working on must of course have this option ;-)

 

Exporting currency values through GATEWAY, rests at the moment in back of my 
head but I am grateful for all ideas and angels. 

 

Regards

Christian  Hjortmar

 

 

----- Original Message ----- 

        From: Gunnar Ekblad <mailto:[email protected]>  

        To: RBASE-L Mailing List <mailto:[email protected]>  

        Sent: Wednesday, June 10, 2009 8:23 PM

        Subject: [RBASE-L] - SV: gateway export and Specification_file_name

         

        Christian

        I have tried to find a solution the way you asked for.

        I did not manage, maybee I was slow on my last razzak training!?,

        It might be there but I did not find it.

        However if you revrse the the issue, create an excelshett with 
predefinde columns with formats and then do an ODBC inquriy you should be able 
to achive what you want!

         

        Let me add I am happy to see user from sweden that I was not aware 
about.

         

        Dont heisitate to answer privatly if yo you have an issue with my 
reply! 

         

         

        Gunnar Ekblad

        Kontema IT AB

        Hästholmsvägen 32

        131 30 Nacka

        Sweden

         

                -----Ursprungligt meddelande-----
                Från: [email protected] [mailto:[email protected]] För 
christian hjortmar
                Skickat: den 5 juni 2009 21:04
                Till: RBASE-L Mailing List
                Ämne: [RBASE-L] - gateway export and Specification_file_name

                Hi, all!

                When exporting to an excel sheet from GATEWAY. Is it posssible 
to specify the format of the target column within the SPECIFICATION_FILE_NAME 
option?

                I.e. an price column in excel should have 2 decimals.

                 

                Thankyou

                Christian

Reply via email to