Jump to content


Photo

UniDBGrid Could not convert variant of type (UnicodeString) into type (Date)

UniDBGrid

  • Please log in to reply
4 replies to this topic

#1 carrera

carrera

    Member

  • SMembers
  • PipPip
  • 19 posts

Posted 05 January 2017 - 07:56 AM

Hi,

i'm not sure this is a bug or not. when i change date value and move focus to the next column, exception will be raised

 

"raised exception class EVariantTypeCastError with message 'Could not convert variant of type (UnicodeString) into type (Date)'"

 

 

Step to reproduce:

1. Open GridEditors Demo

2. Insert the new record

3. Change Hiredate value and move to the next column

 

Environment

Delphi XE 7

Google Chrome 55.0.2883.87 

UniGui 0.99.96.1352


  • 0

#2 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 05 January 2017 - 08:11 AM

I can not reproduce this issue.


  • 0

#3 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 05 January 2017 - 10:36 AM

OK, it is a design time debugger exception which doesn't occur when not debugging.

 

I will try to fix it.


  • 0

#4 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 05 January 2017 - 05:09 PM

Fixed.


  • 0

#5 khuemmeler

khuemmeler

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 11 January 2017 - 11:24 AM

Hi,

 

Nearly the same bug with UnimDBGrid and UnimDBListGrid, if Form is displayed (.show): 

EVariantTypeCastError : Variante des Typs (Null) konnte nicht in Typ (Boolean) konvertiert werden

 

If I remove DataSource no error occurs.

 

Can I get a fixed version somewhere or must I wait to the next official release?

 

Sorry, everything ok with version 1.0.0.1362.


  • 0





Also tagged with one or more of these keywords: UniDBGrid

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users