Search found 2302 matches

by robert
Mon May 06, 2024 4:07 pm
Forum: 3rd party products
Topic: Function AdoDateTimeAsDate()
Replies: 1
Views: 49

Re: Function AdoDateTimeAsDate()

Kees,
The conversion is automatic :

Code: Select all

local oDt as DateTime
local dToday as DATE
oDt := DateTime.Now
dToday := oDt // implicit conversion
Robert
by robert
Mon Apr 29, 2024 7:56 am
Forum: Product
Topic: easy calculation goes wrong
Replies: 5
Views: 263

Re: easy calculation goes wrong

Guys,
This problem is caused by the fact that certain floating point numbers cannot exactly be represented.
If you want 100% accuracy you should either calculate with integers (in cents) or with the Decimal type.

Robert
by robert
Fri Apr 26, 2024 2:05 pm
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7157

Re: Xbase++ forum

Den,
The Asc() function translates the characters from unicode to ansi at runtime.
What is the value of
RuntimeState.DosCodePage
RuntimeState.WinCodePage

Robert
by robert
Fri Apr 26, 2024 10:33 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7157

Re: Xbase++ forum

Guys, The problem is different from what you would expect: there is a SetCollation() function in both XSharp.Core and XSharp.XPP I am not sure why we did this, but SetCollation() inside XSharp.XPP expects a numeric parameter from Collat.ch This activates one of the Xbase++ collation tables. In this ...
by robert
Fri Apr 26, 2024 7:48 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7157

Re: Xbase++ forum

Den,
The sort order is controlled by the russian collation. I would have to check what the contents of that collation is.
We extracted that sort order from the clipper / vo collation table

Robert
by robert
Fri Apr 26, 2024 7:43 am
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 9
Views: 285

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

I was wondering if I should change the RDD system to allow for bigger files.
These numbers have convinced me that I should do that.

Robert
by robert
Thu Apr 25, 2024 9:58 am
Forum: Product
Topic: X# 2.18 EnableCellDraw FIELDSPEC:VAL error
Replies: 5
Views: 195

Re: X# 2.18 EnableCellDraw FIELDSPEC:VAL error

For others reading this: this fix is already included in 2.19.

Robert
by robert
Thu Apr 25, 2024 9:52 am
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 9
Views: 285

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

Dick, I have analyzed the DBF file and found the problem: The RDD has a problem in the calculation of the # of records in the file (during the opening of the DBF), which causes an exception during the opening of the file. I'll send you an updated DLL by mail. This error by the way, only occurs with ...
by robert
Tue Apr 23, 2024 5:09 pm
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 9
Views: 285

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

Dick,
Please use Wetransfer or something like that and send us the link to the actual data that shows the problem.

Robert
by robert
Tue Apr 23, 2024 12:10 pm
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 1728

Re: Miscellaneous questions about converting VO code to X#

Kees,
Kees Bouw wrote: Tue Apr 23, 2024 10:16 am Found it, it is probably String2Symbol("#NULL_DATE") right?
String2Symbol("NULL_DATE")

Robert