fingers
Programmer
- Nov 17, 2000
- 17
I have a series (5) textboxes bound to a recordset which contains 5 integer values (all 5 digit).
When the record is read, the textboxes are populated correctly and contain the correct values. However, I need an integer array containing these values. I have tried usint cint(textboxname.text), integer.parse(name),ctype(name,integer),val(name) and just plain id(x)=textboxname (since I know the box will always contain an integer.)
I can't single step since that doesn't work either so I have to use a msgbox to see any recovered value. The result seems to be that I can't really read the data from the textbox although I can see the contents on the form. I have tried deleting and reworking the boxes, all to no avail.
Has anyone seen a similiar circumstance where a text box can't be read? I'm baffled!
Bud
When the record is read, the textboxes are populated correctly and contain the correct values. However, I need an integer array containing these values. I have tried usint cint(textboxname.text), integer.parse(name),ctype(name,integer),val(name) and just plain id(x)=textboxname (since I know the box will always contain an integer.)
I can't single step since that doesn't work either so I have to use a msgbox to see any recovered value. The result seems to be that I can't really read the data from the textbox although I can see the contents on the form. I have tried deleting and reworking the boxes, all to no avail.
Has anyone seen a similiar circumstance where a text box can't be read? I'm baffled!
Bud