Forum > Database

tbufdataset.CopyfromDataset - strange behaviour in Lazarus trunk version

<< < (3/3)

wp:
What's wrong with it? It compiles here...

Anyway, when "if copyData" is removed you have the same effect as if CopyData were true, i.e. you will copy the fielddefs of the dataset as well as the data. If CopyData were false you would only copy the the fielddefs and have an empty table.

kjteng:
Ok ok. I didn't notice that "copyfromdataset" is a new procedure with parameter. I just copied the body to an event handler. My bad.

Navigation

[0] Message Index

[*] Previous page

Go to full version