If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
AppendChunk and clearing the binary field
Using Visual Basic 6 we are using: MainRs.Fields(ColName).AppendChunk buffer MainRs.Update to append binary files to Access 97 and this works ok. The problem is that when trying to empty the field with: MainRs.Fields(ColName).AppendChunk "" MainRs.Update The field does empty and from Access I can find the field truly empty, but the file size does not decrease accordingly? Thanks, Johannes |
#2
|
|||
|
|||
AppendChunk and clearing the binary field
Insert binary data into Access DB expand file size quickly (depending on the
binary file size, of course), the file size will not shrink when data is deleted from database unless you do database compacting. If lot of data is added to and deleted from the database very often, you need to compact the database regularly. "ftec" ftecatkolumbusfi wrote in message ... Using Visual Basic 6 we are using: MainRs.Fields(ColName).AppendChunk buffer MainRs.Update to append binary files to Access 97 and this works ok. The problem is that when trying to empty the field with: MainRs.Fields(ColName).AppendChunk "" MainRs.Update The field does empty and from Access I can find the field truly empty, but the file size does not decrease accordingly? Thanks, Johannes |
#3
|
|||
|
|||
AppendChunk and clearing the binary field
Thanks!
"Norman Yuan" wrote in message ... Insert binary data into Access DB expand file size quickly (depending on the binary file size, of course), the file size will not shrink when data is deleted from database unless you do database compacting. If lot of data is added to and deleted from the database very often, you need to compact the database regularly. "ftec" ftecatkolumbusfi wrote in message ... Using Visual Basic 6 we are using: MainRs.Fields(ColName).AppendChunk buffer MainRs.Update to append binary files to Access 97 and this works ok. The problem is that when trying to empty the field with: MainRs.Fields(ColName).AppendChunk "" MainRs.Update The field does empty and from Access I can find the field truly empty, but the file size does not decrease accordingly? Thanks, Johannes |
Thread Tools | |
Display Modes | |
|
|