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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bobbygm

  1. bobbygm

    a question about the fileage function

    Hi everybody, I'm a Delphi 7 programmer. I'm using the FILEAGE function to read the date of a file, in OS timestamp format. Can you suggest a quick way to obtain an OS timestamp that takes only year-month-day, without hours-minutes-seconds? I thought that the OS timestamp could have 16 bit for...
  2. bobbygm

    exporting data from Oracle to MsSqlServer

    Hi everyone, I'm writing a simple Delphi 7 application to export data from some Oracle tables to the correspondant MsSqlServer ones. The MSS tables already exist, are empty, and were created with the same structure and relationships of the former Oracle tables, but eventually with different...
  3. bobbygm

    copying files

    thank you very much!
  4. bobbygm

    copying files

    Hi, I'm sorry for this stupid question: What's the delphi procedure to copy files from a directory to another? Is there anything similar to the DOS command "COPY"? (ex. copy c:\notes\*.txt c:\other_notes) thank you very much Emanuele
  5. bobbygm

    opening dwg files from a DBgrid

    thank u very much, Towerbase, you were of great aid to me. I almost found the answer to my problem on FAQs. Still needs some improvement, but I guess I can make it out now. Emanuele
  6. bobbygm

    opening dwg files from a DBgrid

    if fileexists(file_name) then begin fileopen(nome_file, fmopenread or fmShareDenyWrite); showmessage('ok'); end else showmessage('the file doesn't exist'); Me again!!! I'm adding the actual code. The message 'ok' appears and the application keeps running, but nothing...
  7. bobbygm

    opening dwg files from a DBgrid

    Hi everybody! I'm developing a web application with Delphi 7. I have a DBgrid and some ComboBoxes to perform search operations; the resulting records are the names of some dwg (Autocad drawings) files, and everything works well. Now I'd like to open those files by clicking on the corresponding...
  8. bobbygm

    DBgrid problem

    the active property of the Tclientdataset wasn't set to true! Now everything is ok. Thank you very much, you were of great aid to me. Emanuele
  9. bobbygm

    DBgrid problem

    Dear towerbase, thank you for your advices. I also checked the dbexpress topic in FAQS. I've added the components you named to the form, and linked them in the proper way. Now, the program doesn't give errors anymore. Still, records in the dbgrid are not displayed. I verified that the...
  10. bobbygm

    DBgrid problem

    Hi! I've placed a sqlQuery, a DataSource, and a DBgrid component on a Delphi7 form. The DBgrid points to the DataSource, which in turn points to the sqlQuery. When I run the application, it gives the following error: "Operation not allowed on an unidirectional dataset". What happens? How con I...
  11. bobbygm

    reading ms excel cells with Delphi

    Hi everybody! I'm writing a Delphi 7 application, and I want it to read string values from some .xls (Excel) files, pointing at some cells (B3 and C3, for instance) of sheet 1, in order to manage those values with string variables. The inputs are name and directory of the files, which are...
  12. bobbygm

    querytableproducer and more

    Hi! I'm developing an Intranet web site, using Delphi to build the CGI executables that respond to calls from buttons on a web page. In particular, there's a page for searching a drawings archive: I use the querytableproducer component from the Internet palette to fetch the results back, and...
  13. bobbygm

    datetime comparison

    OK. Now that I know exactly where the problem is, I can solve it (I hope). Thanks for your attention and precision! Emanuele
  14. bobbygm

    datetime comparison

    Thank u very much for your advice. Now the log file shows, for instance: 41859A3W --- 29-nov-04 11:52:22 < 09-feb-89 18:16:32. 38320,49 69073,76 something is obviously wrong. the assignment to data_old is made by the following dbExpress sqlquery and code: SELECT num_dis, dir_dis, data_dis...
  15. bobbygm

    datetime comparison

    Ok, now the CODE is: case comparedate(data_tm, data_old) of 1 : BLOGGER1.Logga(num_dis+' --- '+data_str+' > '+data_old_str); 0 : BLOGGER1.Logga(num_dis+' --- '+data_str+' = '+data_old_str); -1 : BLOGGER1.Logga(num_dis+' --- '+data_str+' < '+data_old_str); end; with data_tm, data_old ...

Part and Inventory Search

Back
Top