ECommonCalendarError when selecting date in Bind Variables window (Toad Beta & 2026 R1)

Hi everyone,

I am consistently encountering an unhandled exception in the latest Toad for Oracle Beta (v26.2.222.8909) as well as the 2026 R1 Release.

Note: Since I am a new forum user, the system does not allow me to attach the full text or log files directly. Therefore, I have extracted and pasted the most critical parts of the call stack below.

Issue Description:

The crash occurs specifically when I execute a query containing bind variables, which pops up the Variables window (TFormBindVariables). When I click to modify or select a date value using the date editor option, the application throws an ECommonCalendarError exception.

I have already tried changing and testing all available date/time format options within Toad's Options/Preferences, but the crash persists regardless of the internal formatting settings.

Error Message:

Type: ECommonCalendarError

Message: Failed to set calendar date or time.

Source Unit/Class: Vcl.ComCtrls / TCommonCalendar -> SetDateTime

Steps to Reproduce:

  1. Write a query with a bind variable (e.g., :my_date).

  2. Execute the statement to open the Variables modal window.

  3. Attempt to click or trigger the date editor (ShowDateEditor / btnEditClick) for the date type variable.

  4. The calendar control fails to initialize properly, leading to the crash.

Environment Details:

  • OS: Windows 10 (64-bit) - System Language/Locale set to Turkish (Non-Unicode Language: Turkish 041F).

  • Toad Versions affected: v26.2.222.8909 (Beta) & v26.1.193.8012 (2026 R1).

Call Stack Highlight:

Vcl.ComCtrls.pas      | TCommonCalendar   | SetDateTime             | Line 29853
Vcl.ComCtrls.pas      | TCommonCalendar   | CreateWnd               | Line 29786
Vcl.ComCtrls.pas      | TDateTimePicker   | CreateWnd               | Line 30373
frmModalCalendar.pas                      | InputDateTimeQuery      | Line 72
frmBindVariables.pas                      | ShowDateEditor          | Line 453
frmBindVariables.pas                      | btnEditClick            | Line 467

Suspected Cause:

Since my Windows system locale settings are Turkish, I strongly suspect there is a date-time parsing/formatting conflict between the OS regional settings and the VCL's TDateTimePicker component rendering wrapper when it initializes.

Has anyone else experienced this with non-English Windows locales, or is there a known workaround while the dev team looks into this?

Thanks in advance!

Hi Matt,

Thanks for all of the details and congrats on the World Cup win last night.

You are probably right about the date format. As a workaround, you may be able to fix it by going to Options -> Data Grids -> Data and setting the date format there to match your windows settings.

I will try to reproduce this soon and let you know what I find.

-John

I just tried to reproduce this by changing the windows date and time format to various settings.

I was never able to reproduce any problem when setting values for date type variables in the editor.

I am on Windows 11 though. I can try again with 10 next week.