Date fields export to Excel

Hello,using a @Command([FileExport]; “Lotus 1-2-3”; “myfile.wk4”)to Export my view to Excel, I still get a problem with date colunms.

The export works fine except when the first value of a date format column is empty. In this case, the format of the Excel’s column is integer instead of date/time.

I had a lot of problem to detect this particular bug…

Any advice or idea will be very welcome.

I get some good codes to develop my own export action but I would like to know if I can turn around with this simple export code.

thanks in adavance,

Luc

sample of the bug:

Date_Modify | Date_created

21-mars-05 |

23-mars-05 | 38422

01-avr-05 |

In this sample, Excel column “Date_Modify” is well formated because its first value is not empty.

Excel column “Date_created” is not in the date/time format because its first value is empty…

38422 is the integer value of the date “11-mars-05”

Subject: date fields export to Excel

First (but not last I hope) turn around that I found : Place

@If(yourdatefield=“”;@Date(0;0;0);yourdatefield)

in all date column so that empty value be translated to 00/00/00.

Excel format is then correct.

For treatment in Excel, this value can be targeted thanks to the day which is 0.

Luc

Subject: date fields export to Excel

Luc,

I’m glad you brought this one up. I’m having the same problem with the same Notes version using the manual method for exporting data from Views.