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

    Run an Excel Macro in Delphi

    How hard is it to run an Excel macro through a Delphi program. I think an OLE excel object should be used ??? Then there is some command to run the macro ???? I appreciate any advice. Thanks Martin.
  2. MARTINRODDY

    Closing Excel in Delphi 5

    Hi, I have created an instance of an excel worksheet in a system I'm developing. The data is read from the spreadhseet and everything works fine. The problem I have is that the instance of excel stays open in memory when I close the software. The process list from alt+ctrl+del shows that...
  3. MARTINRODDY

    From Excel spreadsheet to JBuilder

    Hi, I am looking to read data from several worksheets within an Excel Spreadsheet. I will then manipulate the data and write into an Oracle table. Can anyone shed light on the most efficient way of doing this. Would it be through an Excel component? I appreciate any help you can give me...
  4. MARTINRODDY

    TChart Contour Map not working

    HI, I am trying to plot a contour map for a circlcular surface. I have the contour map working great for the square surface but for the round surface the contour map does not look correct. The contour lines are not joining. I am using the TChart component in Delphi 5. Here is the code...
  5. MARTINRODDY

    Insert Record to Oracle Table from JBuilder Code

    I have just started using JBuilder - I use QueryDataSet to do queries from an Oracle table. How do I insert rows onto the table?? I am not using a data aware control, the data is coming from a JTable.
  6. MARTINRODDY

    start date from end date

    how can i subtract one date from another to get the deifference in seconds. e.g. start date - end date Any help appreciated Martin
  7. MARTINRODDY

    subtract dates for duration

    I am subtracting two dates to get the duration in a certian state. The duration will be in seconds. Some people have suggested using the: DateDiff(IntervalType,StartDateTime,EndDateTime) This is perfect, brillant piece of functionality. The only problem I have is...
  8. MARTINRODDY

    subtract dates for duration

    Hi there, I am trying to subtract 2 date and time fields to work out a duration in a state; For example: end time start time (26/11/2001 16:22:00) -(26/11/2001 16:00:00) duration here will = 00:20:00 in hh:mm:ss format. How can I do this...
  9. MARTINRODDY

    Convert 75.75 to HH:MM:SS

    Hi there, I am trying to convert a value like '75:04' (being 75 mins 04 secs) to HH:MM:SS format...............If anyone can offer help i would be gratful. Thanks Martin
  10. MARTINRODDY

    SQL UPDATE PROBLEM

    Hi I am trying to update a record in a table using SQL within Delphi using the similiar code to the following: info_query.sql.clear; info_query.sql.add('update INFOTABLE set name = :name'); info_query.sql.add('where DBTABLE = '''+'COMPTECH_INFO'+''''); info_query.sql.add('and mach =...
  11. MARTINRODDY

    extract string

    I have a string: test_123;3400;0 I want to be able to extract the middle substring 3400 What is the best way to do this ???? Any advice appreciated Martin
  12. MARTINRODDY

    crystal reports support of text files

    Hi, I am scoping out a new project at the moment. The report will be gathering information from Oracle tables and text files. Just trying to find out how well Crystal reports supports connection to txt files. Could someone give advice on this please. Thanks alot Martin
  13. MARTINRODDY

    STUCK......WITH.......strlcopy(),

    Hi, I am using strlcopy(buffer,PChar(job_array[kount].oper_id),oper_pos)); to extract a substring from a string e.g. 20001,20002,20003,20004 I want to get 20002 from this string ??? The above code works for the first substring. But can i use it to move into the string and extract a...
  14. MARTINRODDY

    return selected field from a string grid

    does anyone know the code that would return the selected row id from a string grid, from a click or double clik event on that grid ?????? Thanks Martin
  15. MARTINRODDY

    change font colour of spreadsheet cell from delphi code

    how do i change the font colour of a cell in an exported spreadhseet using delphi 5 code...............i imagined something like excel.cells['b1'].color:=(clRed); ???????????????? Any suggestions welcomed please Martin
  16. MARTINRODDY

    Set Cell width through D5

    Does anyone out there know how to stretch the width of cells in spreadsheet so that the exported data all fits. I am exporting data from a string grid in my program to Excel spreadsheet. But when this happens the cells are not big enough Appreciated Martin
  17. MARTINRODDY

    Save Strng Grid out to spreadsheet?

    Hi there, I have a String Grid which contains records from an Oracle table. I wish to provide an option in the software to save the contents of the string grid out to a spreadsheet for analysis. I would be gratful if someone with experience in this could give me some information on how to...
  18. MARTINRODDY

    How to create new nodes on TreeView object

    Hi I have only srarted using the TreeView object recently. I am starting to get used to it. One question. Can someone tell me the command that allows a new node to be created during runtime. (and any other useful command if you...
  19. MARTINRODDY

    Selecting Maxium Date and couning records

    I have a report of the following format: Bracnh: North Street J Bloggs Date: Transaction: J Bloggs 02/04/2001 L J Bloggs 01/04/2001 W J Bloggs 03/04/2001 L D Smith Date: Transaction: D Smith 04/04/2001 L D Smith...
  20. MARTINRODDY

    COMPILING DISTRIBUTING A CRYSTAL REPORT

    COULD SOMEONE PLEASE CLARIFY THE DIFFERENCE OF COMPILING AND DISTRIBUTING A REPORT IN CRYSTAL V7. I WISH TO HAVE A STAND-ALONE FILE TO PLACE ON A PUBLIC DRIVE FOR ALL TO SEE. THE STEPS I AM TAKING ARE: 1: Report>Compile Report. I filled out the name of the compiled report 2: Then I go...

Part and Inventory Search

Back
Top