Tip Bank

DevX - Software Development Resource

Create an Invoice

Question: I need to create an onscreen invoice. I can figure out Supplier name, Customer name, and so on. But I can’t figure out how to do the body?for example,

DevX - Software Development Resource

BDE Engine Error When Installing Delphi 3

Question: I used InstallShield that comes with Delphi 3 to install a Delphi 3 program on another user’s computer running Windows 98. The install includes the full BDE and two

DevX - Software Development Resource

How to Prevent Corrupt Indexes

Question: How do I prevent corrupt indexes or automate the rebuilding of corrupt indexes? Answer: Prevent corrupt indexes by taking steps to prevent the crash of an application: 1. Consider

DevX - Software Development Resource

Put a Variable in a SQL String

Question: How can I put a variable in a SQL string? For example: input:=edit1.text;query1.sql.add(‘select * from address where name like ‘); Answer: Since SQL.Add takes a string, all you need

DevX - Software Development Resource

Speed Up Run Time

Question: My executable takes almost a minute to run. How can I speed up the process? I am not running any queries at this point?I wait until I actually show

DevX - Software Development Resource

Determine Which Controls are on a Form

Question: Is there a simple way to ascertain the names of all the controls on a particular form at run time? Answer: Every TComponent descendant has two properties, ComponentCount and