Click to See Complete Forum and Search --> : GetChunk please HELP


Kain
May 23rd, 2001, 04:17 PM
hi, i m trying to read some data (supposed to be 10 integer) from my database declare binary (sqlserver) and i try to use getchunk like :
dim a(10) as byte
a=rs("popol").getchunk(10)
When i try to get my activex the error "operation not allowed in the context" apprears, why?
and i can t put it in a table...
can u help me??
How getting my info in a string or in integer??
thx

John G Duffy
May 23rd, 2001, 07:01 PM
According to MSDN HELP, GetChunk returns a Variant not a Byte. So try changing your Variable type.

John G

Kain
May 24th, 2001, 01:55 PM
thx for the help,
but i change this a lot of time ..trying table, or not...but it never works..
i m totaly lost
i really needs help on this
thx a lot