Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Punchinello

    Filtering with ADOQuery

    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...
  2. Punchinello

    XP, D7 and TSpeedButton

    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...
  3. Punchinello

    Need Scripting Help

    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...
  4. Punchinello

    About Using Tables

    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...
  5. Punchinello

    InnerHTML - fast or slow?

    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...
  6. Punchinello

    Using WebBrowser and PageProducer?

    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...
  7. Punchinello

    SQL Syntax

    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...
  8. Punchinello

    Install just the BDE

    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...
  9. Punchinello

    Action Manager with XP Style

    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...
  10. Punchinello

    SQL Server Application Design

    I am considering creating a front-end &quot;fat&quot; 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...
  11. Punchinello

    Recognizing Database

    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...
  12. Punchinello

    Using the TUpDown control

    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...
  13. Punchinello

    D7 Coolbar problem

    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...
  14. Punchinello

    Prevent picturebox clicks from stealing focus

    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?
  15. Punchinello

    How to stop combo box from dropping down list

    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...
  16. Punchinello

    What is the best data access method?

    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 = &quot;SELECT * FROM Table1 WHERE KeyValue=&quot; &...
  17. Punchinello

    How to assign NULL or EMPTY to Numeric Field

    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 =...
  18. Punchinello

    XP Style Controls in D5

    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...
  19. Punchinello

    Printer Page Dimensions

    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...
  20. Punchinello

    Printers and ScaleMode

    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...

Part and Inventory Search

Back
Top