I am having problems changing the sort order on a DBgrid at runtime (I am using paradox tables). I have pre-defined an index for each field I wish to sort on (in ascending order).
I can change which column to sort on by clicking in the column title without problems, but changing the order does...
I am using a DBCtrlGrid to display several records on screen at once. The control grid has a DBCheckBox and a DBEdit on it. I am trying to control the Visible state of the DBEdit according to the Checked state of the DBCheckBox.
When a checkbox is clicked (I am using the OnClick event), the...
I have a DBCtrlGrid attached to a Paradox table via a TTable and a TDataSource that displays several records on the screen at the same time.
The grid has several DBCheckBoxes and several DBEdits on it and I am trying to control the visible status of all the DBEdits in a single record using a...
I have a DBgrid where I would like to display some of the fields as drop down lists that present a string to the user but return an index number to the field in the attached paradox database table (I'm using the BDE).
I can do this by creating a lookup field in the grid that displays the...
I have recently installed D6 and one annoying 'feature' of the destop autosave facility still seems to exist (or have I missed something).
When starting Delphi all the previous units I had loaded are opened ok and the last cursor positon in each is also restored, BUT, the last file I was...
I would like to put a utility in my Delphi 5 database app that will pack the tables and free up the space from deleted records. I am using local Paradox tables in a single tier, single user situation.
The Database Desktop has a facility when you save tables but I can't find a method in either...
What is the neatest way of writing the contents of a TTable or DBgrid out to a text file. I need to be able to specify either comma separated or tab separated values. I want the first line to be the field headings and then one line per record with each field separated by the delimiter. I also...
I have a DBGrid attached to a TTable (local Paradox) and I want to display and update the total of the values in the same field for each displayed record in a separate control (TEdit). I can trigger an event when the user changes columns (OnColExit) to update the total but I can't find an event...
I am writing a Delphi 5 app that has about 20 paradox tables accessed through TTable and TQuery components. I have several tables set up in master/detail relationships.
I want to give the user the facility to duplicate a master/detail record set so that they can then create new sets based on...
I am looking for a way to create a string list or something similar, where each line is the name of a field in a paradox table (TTable).
I am writing a text file input function that lists the names of headings in an imported text file (I have done this) and then writes them as the first field...
I wish to highlight the captions in radiogroups without bolding the items as well. I can do this in group boxes because the components added to the box can have their own styles.
Is there some way of setting the style property of the items in the radio group separately.
Any suggestions please...
As a part time programmer, I have used Delphi for several years mostly for relatively small applications. I am now writing my first serious database application and it is progressing well, but I am not sure if I am using the best database format for the job.
The application is a complex...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.