I have an app that has a BDE back end. The people who write the suite that my software slots into have changed from using a Paradox BDE database to using an Interbase database.
So I've added Interbase support to my app, which is all well and good on a PC with both the BDE and Interbase client...
I have a database app, which must talk to both BDE and Interbase as a backend.
My problem is that I don't know how to tell whether or not BDE is installed on a PC. So, when my app starts on a PC without BDE, it throws an access violation or some equally unuseful error message. It then...
I've installed Interbase 6 on my PC (it describes itself as WI-V6.0.1.0). I started getting error messages when I start up Delphi, about not being able to find entry points in, um, DCLIB50, I think. So I got some Interbase packages from Borland's web site, and compiled 'em, and installed the...
I have a line of code that says:
DM.LeagueDatabase.Execute('CREATE INDEX Game_ID ON ' + TableName + ' (Game, ID);', nil, False, nil);
It works fine, and the Game_ID secondary index is duly created. I have another line that says:
DM.LeagueDatabase.Execute('DROP INDEX Game_ID;', nil...
I'm doing a TTable.CreateTable.
Provided I've not used this TTable object before, it succeeds fine, but if I've previously used the TTable object to open some other table, when I hit the CreateTable, I get the error:
Project blah raised exception class EDBExceptionError with message 'Invalid...
I've got this bit of SQl to create a Paradox table that goes:
DM.LeagueDatabase.Execute('CREATE TABLE ' + TableName + '(' +
'ID VARCHAR(8), ' +
'Game DATE, ' +
'(plus a bunch of other fields) ' +
'PRIMARY KEY (ID, Game) )', nil, False, nil);
, which does what I want...
I've been having some oddness with TBDEDataSet.Locate().
If I set an index with IndexFieldNames, and then Locate on those fields (or on the first few of those fields), it's always good. But if I do a Locate on something which I do not have indexed, or on an index other than the current one...
Under Windows XP (using Delphi 5 Pro update pack 1), my menus look fine, until I set a value for the menu's Images property. Then the menu background, and the background of all the submenus etc, goes white. (Or maybe it's going clWindow. Can't tell.) This issue does not occur under Windows...
I'm trying to set up a parameterized SQL query using a TQuery, and I'm running into a couple of problems. I can do a boring static query, but as soon as I try adding parameterization stuff, it all falls over. If I walk into the Prepare or Open, I find that my parameters are replaced with '?'...
I know how to create a table at runtime by setting up FieldDefs and IndexDefs and calling CreateTable; but how can I add fields and indeces to an already existing table? -- Doug Burbidge mailto:doug@ultrazone.com
http://home.iprimus.com.au/dougburbidge/
I'm trying to make a form stay on top of all other applications, by using FormStyle := fsStayOnTop. I've set it at design time; I've set it at run time; I've messed with Application.RestoreAllTopmosts, all to no avail. Any tips?
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.