Wrong format

Discussion forum about all things Report Builder (all versions).
jdurban
Germany
Posts: 54
Joined: 09 Oct 2018, 09:30
Location: Karlsruhe, Germany

Wrong format

Post by jdurban » 15 Jun 2021, 08:30

Hi,
in my grid I use a date/time column with the format hh:mm and the time will be shown in correct. But if I call SalReportTableView(..) then instead of the time it will be always 01.01.1899 shown.
How can I display time correct?
best regards

User avatar
Steve Leighton
Site Admin
Site Admin
New Zealand
Posts: 419
Joined: 05 Mar 2017, 20:57
Location: Stroud, England <--> Tauranga, New Zealand

Re: Wrong format

Post by Steve Leighton » 21 Jun 2021, 01:10

.
Either:
1) Create your own report ( .qrp ) and don't rely on SalReportTableCreate() to do it. So you can then format the displayed Time in your own Report Template
or
2) If you don't want your own Report Template, use SalGridPrintPreview() which will just dump the Grid out as it is shown . Already formatted.
.
Greetings from New Zealand
Steve Leighton

Bankside Systems Ltd.
UK ♦ Australia ♦ New Zealand

www.banksidesystems.co.uk

Image

Return to “General Discussion Report Builder”

Who is online

Users browsing this forum: [Ccbot] and 0 guests