Well guys thanks for the help. I'm guessing both are gonna be quite helpful in the future since I'll be working with both environments. And thanks Turkbear ... amazing how often the easiest solution is the one you don't think of.
Shuesty
Well it does work while using SQL*Plus. What I forgot to mention was that I'm using a TOracleQuery component from inside Delphi to run the sql lines. And when I try to execute the 'set define off' line I get a 'ORA-00922: missing or invalid option'. Any thoughts as to why?
Shuesty
Hey, I'm trying to enter the following string into a database
dd_cd=02_00060_00003&format=rdb&period=10&site_no=14105700
ok so the actualy string is 5 times longer and it's a website but this is the part that's acting up. Oracle is changing this section to...
I'm wondering what version of Borland you are using because with 6.0 I don't have the FTP.DirectoryListing attribute. I have a work around already formulating though so thanks for the help.
Shuesty
Well it gives me the creation date of the file which is helpful. Unfortunately I need the date (and time) that the file was placed onto the FTP site. Any ideas for that??
Shuesty
I'm working on a project that involves downloading files via ftp sites ... parsing out the needed data ... then adding the data to a database. The files are expected to be updated everyday so that I'm not putting the same data into the database however I was wondering if there was a way to find...
I found the error. While cleaning up the files I had alphebetized the various components in the uses clause ... including the reference to ShareMem. I was finally reminded that ShareMem must go first by going back to a 'Write a DLL 101' page ... gotta love those pages.
Shuesty
Ok here's the lines inside my executable
begin
Application.Initialize;
(create a bunch of forms)
Application.Run;
end.
And inside a dll
exports
FileRead,
FileWrite,
FileTypesRead,
FileTypesWrite;
begin
end.
I'm not doing anything fancy whatsoever. But somehow while the...
So I've made some progress into locating the error but I'm still at a loss at to why the error occurs. I have written 3 dlls to accompany the application which I appearantly prematurely destroy. When I trace into the 'end.' line in the application project I get to the main dll's 'begin' line...
Now I'm not sure about the possible speed difference between the two different sections but this is what I have gathered.
The difference between the two lay in the procedure/function/property/variable declarations. You need to create the reference to the needed classes before you are able to...
I'm getting an invalid pointer exception as my program closes which is baffeling me. Looking at the project code ... it pass the Application.Run line and reaches end. Which you would think it would pass over and terminate the program. But appearantly on that line is where the exception...
The only way I can see that working is predefining the relationship between the string and ordinals somewhere in the code. Whether it's from your database, a config file you load, an internal array, or the combo box idea ... you need to define the relationship before using it in a Case block...
Rather than defining it as a string trying using an integer since the value of VK_MENU is numeric.
function TForm1.SetValue(ValueToSet: Integer): Boolean;
begin
//defined in the global parameters
parameter := Ord(ValueToSet);
result := True;
end;
procedure TForm1.Button1Click(Sender...
procedure TForm1.FormShow(Sender: TObject);
begin
//if you know the number
ListBox1.Selected[<the index number of the item you want selected>] := True;
//if you know the name
ListBox1.Selected[ListBox1.Items.IndexOf(<name of the item you want selected>)] := True;
end;
Shuesty
I'm writing a program that downloads information from various FTP sites, placing the information into a database, then recomplies the data and places it onto my company's ftp site. In the download thread the basic funcitonality is - download the data, insert into the database, update the...
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.