Registriert seit: 6. Mär 2013
6.156 Beiträge
Delphi 10 Seattle Enterprise
|
AW: Update/Delete Record items in a Stream
27. Apr 2018, 12:47
Can you post your real code? Your current LoadFromStream()
and SaveToStream()
appear to be testing routines because they contain syntax errors and, in their current form, do not make sense:
In LoadFromStream()
you load your data into a local variable myRec
. After that, your procedure ends and myRec
is gone. You can inspect myRec
in the debugger, but in the end, this method accomplishes nothing.
"Real code" would, for example, take an instance of TMyrecord
and a filename as parameters for LoadFromStream()
and SaveToStream()
|