delphi4arab منتديات دلفي للعرب
"Could not convert variant of type (NULL) into type (string)" - نسخة قابلة للطباعة

+- delphi4arab منتديات دلفي للعرب (https://delphi4arab.net/forum)
+-- قسم : منتديات دلفي للعرب التعليمية (https://delphi4arab.net/forum/forumdisplay.php?fid=3)
+--- قسم : سؤال و جواب حول دلفي (https://delphi4arab.net/forum/forumdisplay.php?fid=15)
+--- الموضوع : "Could not convert variant of type (NULL) into type (string)" (/showthread.php?tid=2914)



"Could not convert variant of type (NULL) into type (string)" - paix144 - 21-03-2011

السلام عليكم
عند خطأ في قاعدة البيانات paradox
فعند ربط جدولين تأتي رسالة الخطأ و عند فصلهما لا يظهر الخطأ
المشكل في Form بين جدول Versement و ST_Versante


"Could not convert variant of type (NULL) into type (string)" - kachwahed - 26-03-2011

وعليكم السلام ورحمة الله
حسب رسالة الخطأ يبنغي التحقق من أي Variant قبل التحويل:
كود :
if not VarIsNull(myVar) then
في أي سطر تواجه الخطأ؟



"Could not convert variant of type (NULL) into type (string)" - paix144 - 26-03-2011

بارك الله فيك أخي
الخطأ في هذا السطر أخي

كود :
Application.CreateForm(TForm7, Form7);