Print Page | Close Window

ItemData Failed

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16142
Printed Date: 30 November 2024 at 4:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ItemData Failed
Posted By: Cr@cki
Subject: ItemData Failed
Date Posted: 04 February 2010 at 12:46pm
Hi
i use this code to populate combobox:
    For i = 1387 To 1400
        Combo.AddItem CStr(i), , i
    Next i

when i want to read item data with this code:
iShamsiYear = Me.comSal_Past.ItemData(comSal_Past.ListIndex) ' index 1 or any other thing selected !
i get this error:
Variable uses a type not supported in Visual Basic (Error 458)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net