Database tutorial, part 5
identicon
webmaster@cfcc0ed1
DISCUSSION OF ORIGIN

webmaster@cfcc0ed1 Monday 19th February 2018, 19:28

Database tutorial, part 5

Now online:
Database tutorial part 5
Last modified: Sunday 17th February 2019, 15:45
DISCUSSION OF ORIGIN
identicon
John

John Sunday 17th February 2019, 15:22

In the validation code, it says: cdsUfo2.CloneCursor
Why not simply load cdsUfo2 from the XML file?
identicon
webmaster

Administrator

identicon

See their activity.

webmaster Sunday 17th February 2019, 15:29

[quote]Why not simply load cdsUfo2 from the XML file?[/quote]

Because the edits and/or addition of records that you might have done, are not yet written to the XML file. Writing of the data to disk only occurs at the moment that you stop the application. Thus you have to copy the current data of cdsUfo to cdsUfo2, what is done with the procedure "CloneCursor" smile
Last modified: Sunday 17th February 2019, 15:39
Suggested Topics View / Reply Forum
webmaster@cfcc0ed1 started Delphi Database tutorials 3K / 0 Database
webmaster@cfcc0ed1 started C++ Tutorials 2.7K / 0 General
Danny started What is parse? 4.4K / 1 General
kodeboi@547c3afc started Do classes and interfaces go in individual files? 1.6K / 1 General