When I use a FileListbox set its Directory property to a network path, in IDE design the proper files are listed from my network drive but during runtime the Filelistbox defaults back to path of the exe's location. This also seems to happen with most components ie. DirectoryListBox as well.
I...
I use Delphi ver 2007 and wanted to know if there's any way to load a VCL form with an image1 component and flag it as non-movable in the IDE or lock it down in the form while editing.
I'm duplicating an existing and rather complex paper form into a program. I add nearly 92 edit & checkbox...
In short I'm trying to find the changing path of the temporary MS-Word document. This is the corresponding tmp for the open-unsaved document through Delphi.
Purpose: To save the user from having to save then (attach/reopen) this doc for email. Immediately upon the form completion (before...
We have a dilemma at my work trying to record UPC data from order pickers while simultaneously recording them from an above camera. Many items appear the same so we also have a screen capturing device on the monitor, only the data is too small to view clearly from the recordings and is useless...
I use Delphi 2007 and i'm sending a query that takes approximately 45-55 seconds for a result. I tested this with Query Analyzer. My ADO connection times out at 30 seconds which is the default setting no matter what I set the connection time out to be.
Code Snipit...
LVL 1 question
I have two lines of code very similar 1 works fine and later changing only the operator causes it to fail.
//working
sql.add('update items set cost = 5 where contract = ''''');
but reverse it with
('update items set cost = 5 where contract != ''''');
Syntax error (missing...
I'm completely new with VB2005 and this is probably obvious. I'm been learning with Visual Studio 2005 Standard and need work with the services. I've think I'm on the right path... using
System.ServiceProcess
But I get an error ServiceProcess is not a Class of System?
Is there something I...
Using a ClientDataSet I've added a calculated field and this works pretty well but only on the last record all previous calculated fields are recalculated and duplicated. I've tried redefining the field using the Fields Editor to InternalCalc but with the same results. How can I insure that...
Is there a method to have several empty ClientDataSets setup at design so that they might become containers for specific records from the 1st. (All having the same fields & structure)
The difficulty I have stems from setup of the DataSetProvider if I select ClientDataSet1 for Database then...
I need to compare 2 tables each with the same name from 2 separate databases one a copy of the other.
The idea is to copy 1 database every 24hr period then compare the copy to original and log changes.
I want to bend the project to fit my knowledge. I'm loading both with ADO components and was...
I've had a heck of a time trying to create routines that kill and restart services in WinXP. I've found the easiest method to write a (DOSCOMMAND) BAT file using the 'SC' command to start/stop them. I have been planning on dumping these bat files into a folder and calling them with...
I'm trying to pull off running a query multiple times and populating a single DBGRID. I would like the results to append to the bottom of the DBGRID but have landed flat on my face.
I'm assigning the variable 'item' with a differing value and looping back through a the query again but will no...
Need a suggestion for Quickreports labeling rows. I'm printing a simple form with a few qrDBtext labels generated from a recordset of a SQL ADOquery. Printing this information straight out is easy but I'm needing to add a sequential number or row number.
trying to achieve
1 qrDBtext1...
Here is a short description of my task: I am converting data into a format for other companies and many times I'm required to give them a flat file in fixed width format with numbers right justified.
Example:
25 After-> 000025
I convert the number by setting the data type to number and the...
I've have a strange problem. I have two sheets. 1 cell that has this formula to determine percentages and is formatted as a percentage.
=IF(H3>0,(((H2-H3)/H2)),100%)
..this correctly displays percentages in the cell such as 99.90%
Now My search formula looks like this...
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.