السلام عليكم ورحمة الله وبركاته
in fact I face problem and I hope anyone help me soon as he/she can because I have project and I ought to submitt it in wednesday.....
I'm using vb6 and crystal report 4.6
I made report which should follow 2 conditions to works but I have error msg "type mismatch" ....my code is :
cond = "{Main1.comp_name} IN '" & Combo1.Text & "' "
cond1 = "{Main1.start_date} IN DATE(" & Format(Inicial, "yyyy,mm,dd") & ")" & "TO DATE(" & Format(Final, "yyyy,mm,dd") & ")"
CrystalReport1.SelectionFormula = cond and cond1]
my problem in the third line the program give me msg "type mismatch"
please help me help me soon as you can....:cry:
أعتذر على الكتابة بالانجليزي وذلك لضيق الوقت وأنا مستعجلة ولكن طباعتي فيها أسرع وسأكتب في مشاركاتي القادمة بلغتنا العربية ان شاء الله......آعتذر
thaaaaaaaaaaanks... :rolleyes: