Devexpress'in CxDBDateEdit komponentini tarih tanımlamak için kullanmak istediğimde ;
Overflow while converting variant of type (Integer) into type (Date)
hatası alıyorum.
Tarih Alanı Date olarak tanımlı neden bu hatayı veriyor?
Yardımlarınız için teşekkür ederim
Overflow while converting..
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
Re: Overflow while converting..
Öneri sadece ;loxka yazdı:Devexpress'in CxDBDateEdit komponentini tarih tanımlamak için kullanmak istediğimde ;
Overflow while converting variant of type (Integer) into type (Date)
hatası alıyorum.
Tarih Alanı Date olarak tanımlı neden bu hatayı veriyor?
Yardımlarınız için teşekkür ederim
1. Tarihlerin display formatı her ikisindede gün ay yıl mı yada uygunmu
2. Tablo componenti içinde alanın tipi yanlış tanımlanmış olabilirmi.
3. Date edit componenti yanlış fielde bağlanmış olabilirmi (kuvvetle muhtemel)
Çözümü bir rus sitesinin forum alanında buldum arkadaşlar, belki aynı sıkıntıyı yaşayan arkadaşlar olursa diye çözümü vereyim..
\\Devexpress\ExpressEditors Library 5\Sources klasörünün içindeki cxDateUtils deki NullDate = -700000; ifadesini NullDate = -2; olarak değiştirin ve complate edin..
Sitedeki Orjinal metin :
\\Devexpress\ExpressEditors Library 5\Sources klasörünün içindeki cxDateUtils deki NullDate = -700000; ifadesini NullDate = -2; olarak değiştirin ve complate edin..
Sitedeki Orjinal metin :
Kod: Tümünü seç
Every control that handles date gave me this message "Overflow while
converting variant of type (Integer) into type (Date)" even though I've
changed three versions of QuantumGridSuites 5.8, 5.9 and finally 5.11.
How come you couldn't fix this famous problem from version 5.8 to
version 5.11.
"De library has a constant for a NULL value date (this is the problem).
Search in all units of developer express for the line:
NullDate = -700000;
Change this in:
NullDate = -2;