Delphi Programming Question:

Download Job Interview Questions and Answers PDF

How can I manipulate data programatically?

Delphi Interview Question
Delphi Interview Question

Answer:

It is sometimes desirable to write code that deals with databases but is not associated with any particular form or user-interface details. To do this, you declare variables of type TDatabase, TTable and/or TQuery, and set their properties in code just as you would in the design environment. Make sure that you include the DB and DBTables units in your uses statement, or you will get "unknown identifier" errors during compilation.

Download Delphi Interview Questions And Answers PDF

Previous QuestionNext Question
How do I write a change password function for a Paradox table?Why do I get compile errors acessing the Sender object in events?