Probably this very difficult approach was necessary during 16-bit clipper days about 20 years back.
Now all this totally not necessary.
We can simply assign file buffer value to the field.
Please try this sample which stores contents of a large file c:\fwh\lib\fiveh32.lib in the memo field of dbf file.
[code=fw:3d73858d][/code:3d73858d]
Same way even for storing large BLOB or TEXT data in MySql, MsSql or other databases, it can be done in one simple step.
MYSQL Example (using FWHMYSQL and can be tested with FWH 17.01):
Principle is the same for other libraries too.
[code=fw:3d73858d][/code:3d73858d]
↧