If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Code Help!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-04, 12:18
peto813 peto813 is offline
Registered User
 
Join Date: Jun 2004
Posts: 31
Code Help!

I am working on the new microsoft visual basic 2005 and typically the following statement would be completely valid (in access)

For i = 2 To 12
Me.Controls("giro" & i).Value = 0
Next i
However whenever I try the same for VB 2005 I get an error message saying property 'item' is 'readonly'. Can someone help? Thank you in advance.
Reply With Quote
  #2 (permalink)  
Old 08-02-04, 18:34
SCIROCCO SCIROCCO is offline
Registered User
 
Join Date: Mar 2004
Location: www.scirocco.ca
Posts: 346
You are cycling through the controls on your form. One of those controls Item property are only read only. What controls are you using?
__________________
http://www.scirocco.ca/images/banner...occobanner.gif

Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

Or try our Ask An Expert service to answer any of your questions!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On