jordanking
Programmer
- Sep 8, 2005
- 351
Hi,
I have a custom function ("wSDBGetRecord" through a previous declare statment) that accesses an external custom database from within MS ACCESS. This function gets a specified record from a table within the external database and places the value within a BUFFER variable. I am having difficulty extracting a literal string from the binary data in the buffer.
I tried to assign the buffer to a byte array but it did not let me
wSDBGetRecord(iDBLink, iTBLink, FLG_KEY0, pRecord)
'pRecord is the BUFFER
abytTemp() = pRecord
strOutput = abytTemp()
lblCompanyName.Caption = Trim(strOutput)
I also tried the getSrting method but could not get it to work. Maybe I missed something.
Thnaks In advance
I have a custom function ("wSDBGetRecord" through a previous declare statment) that accesses an external custom database from within MS ACCESS. This function gets a specified record from a table within the external database and places the value within a BUFFER variable. I am having difficulty extracting a literal string from the binary data in the buffer.
I tried to assign the buffer to a byte array but it did not let me
wSDBGetRecord(iDBLink, iTBLink, FLG_KEY0, pRecord)
'pRecord is the BUFFER
abytTemp() = pRecord
strOutput = abytTemp()
lblCompanyName.Caption = Trim(strOutput)
I also tried the getSrting method but could not get it to work. Maybe I missed something.
Thnaks In advance