I'm using TADOQuery against an Access database (converted to SQL Server in production) and want to provide user-controlled filtering displayed in a standard DBGrid.
The SQL statement is a simple SELECT and I want to apply a filter on the field in the ORDER BY clause so I set the Filter like...
I've got a speedbutton on my main form in a Delphi 7 app under Windows XP. But when I use a manifest file to try out the XP themes, the speedbutton caption goes bold on me. However, when all other buttons with the same parent are enabled at runtime, it displays in the normal font without the...
I need some help showing/hiding a set of <span> elements.
I've got an area on the html page that shows a company name and address. What I want to do is place some anchors (I think) that let the user select which address to display among choices like "Shipping address", "Billing address" and so...
I need to create a really, really simple static html file like a beginner might create. It needs to display a collection of data elements in the format Caption: Value where the "Captions" are right-aligned in a column and the "Values" are left-aligned in the next column but not all rows will...
HTML Gurus,
I am new to html and I'm going to use <div id="custid">Some customer id</div> on a local html page and fill it with innerHTML on the DocumentComplete event. It is not a server-based application - this code runs on a fat client.
But wait.
It is not just the customer id. It is a...
I am using a webbrowser to open a local html file. No problem. But now I want to replace text in the html file with field values from a database so where the html file might include "Company Name: <#CompName>" I want to replace the <#CompName> tag with the value from a dataset. Sometimes it...
I've got three tables: a master and two details that are independent from one another but both related to the master one-to-many linked on a field CaseNo. I want to select any master records with at least one linking entry in either of the detail tables. Is there a better or faster way than...
I have a database application in D7 and InstallShield Express and I want to create an installation program. Since the database will reside on a LAN server, the installation program only needs to install the BDE and create the shortcuts for each workstation (once the database is present).
Does...
With Delphi 7 under XP, I've got an ActionManager set to XPStyle linked to an ImageList with 16x16 bitmaps that appear on an ActionToolBar and an ActionMainMenu. I'm also using a manifest file to incorporate XP styling on other controls.
When running the program, everything appears correctly...
I am considering creating a front-end "fat" client program for manipulating a remote back-end SQL Server database over an internet connection using Delphi 7 with ADO components. Does anyone have specific experience and/or opinions (yea, nay or otherwise) that might help me in deciding...
I am running a version of SQL Server on a stand-alone XP workstation. Which version is running I do not know but it came with the Office XP Professional (I'm pretty sure). I can use the Upsize Wizard in MS Access and create databases that are accessible under SQL Server and this makes me...
If you've ever used a TUpDown control with a TEdit field then you've probably noticed that the UpDown button aligns on the outside of the Edit border. Windows, on the other hand, generally shows the UpDown control on the inside of the Edit border, providing a look consistent with that of a...
With Delphi 7 under XP, I've placed a coolbar on the main form of an MDI project and added 2 toolbars, each in their own band of the coolbar. In one toolbar, I've placed a bunch of toolbuttons. On the other, I've assigned its Menu property to the form's TMainMenu control. I don't want to...
If I use a picture box as a container for user controls and click the mouse in an empty region of the picture box, focus leaves the active control and goes - I assume - to the picture box itself. Can anyone suggest a way to make the picture box ignore mouse clicks?
I have a combo box and I want to replace the default behavior when the DropDown event occurs with custom code. I can do this easily in other languages but cannot find the solution in VB. The custom code is not really important -- can someone tell me how to silently abort the dropdown behavior...
Can anyone recommend which of the following techniques (or any other) is better, stronger, faster? Data resides on a LAN in SQL Server and filering would be done on indexed field(s) only.
1. Opening a recordset using SQL string:
strSQL = "SELECT * FROM Table1 WHERE KeyValue=" &...
I've read bunches of threads that address NULL and EMPTY issues but none that demonstrates how to assign a NULL or EMPTY value to a numeric or date field. For example, I'm using standard edit controls and assigning their .text properties from an Access table in code like so:
Ctrl.Text =...
Hi,
I've got Delphi5 on a 98 machine and want to compile a program that will take advantage of XP Style controls if it is run on a XP machine.
I've placed the following code in the main form's OnCreate event and, in a second try, placed the code in the program file above the...
Many printers have an area around the page border where they cannot print, so if you want your program to print something with specific margins, you need to know the size of this area and use it to adjust your margins.
The problem:
let's say you want a programmed document to print with 1/2 inch...
I've added a print button to a data entry screen that let's a user select a printer and print a copy of the completed form complete with boxes around text and other simple line borders and such. I should preface this question with the fact that I have done EXTENSIVE work in Delphi doing all...
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.