Hello,
I call the btrieve API with Code 5 (get equal) from
VB and I get the error number 21 if I use a key greater then 0.
The size of the key buffer is great enouth, and if I use the key number 0 everything ist fine.
The code is:
KeyBuffer$ = "12345 "
KeyBufLen = Len(KeyBuffer)
keynum = KeyNumber
BufLen = Len(DataBuf)
Status = BTRCALL(pGetType, PosBlock, DataBuf, BufLen, ByVal KeyBuffer$, KeyBufLen, keynum)
Thanx for help.
Soner