invalid property value
- From: "mckouleith" <mckouleith@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 02:59:02 -0700
greetings!
had been encountering this problem nowadays...
Runtime Error : '380'
Invalid property value
what am trying to do is just retrieve the fieldsize of a field from a query
am still using vb6, mysql, and crystal report 8.5 since it's all what my
company had...
we seldom encounter this problem but still, i wanna know what's going on
with this problem and what the heck does triggers it.
here's my code...
Private Sub Form_Load()
OpenQueryDNS "SELECT * FROM DI2360 LIMIT 1", objdbRs, False
frmLogin.txtUserName.MaxLength = objdbRs.Fields.Item("USERID").DefinedSize
End Sub
OpenQueryDNS is my UDF just for query purposes, i store the result in a
RecordSet named objdbRs...
what i always get is a -1 value, but on most of the computers we installed
this customized application, we never encountered such. it should return a
value equivalent to the size of the field "USERID", lemme say 6.
any help is of great use.
thanks in advance...
--
mckouleith
.
- Prev by Date: Re: msi's configuration
- Next by Date: Re: escaping semi colon in connectionstring
- Previous by thread: Scroll bar in datagrid
- Next by thread: Unable to Update Data table in Access Database via ADO
- Index(es):
Relevant Pages
|
|