Click here to Skip to main content
14,328,552 members
   

Delphi

 
AnswerRe: Delphi = Pascal? Pin
Corinna John22-Jul-09 3:10
memberCorinna John22-Jul-09 3:10 
AnswerRe: Delphi = Pascal? Pin
Member 413803928-Jul-09 7:59
memberMember 413803928-Jul-09 7:59 
Questionmigration to C++ code Pin
MrKBA7-Jul-09 0:27
memberMrKBA7-Jul-09 0:27 
AnswerRe: migration to C++ code Pin
Corinna John22-Jul-09 3:13
memberCorinna John22-Jul-09 3:13 
QuestionRAVE REPORTS Pin
hbez2-Jul-09 6:06
memberhbez2-Jul-09 6:06 
QuestionSorting of file Pin
thavasi30-Jun-09 21:45
memberthavasi30-Jun-09 21:45 
AnswerRe: Sorting of file Pin
Blue_Boy1-Jul-09 11:35
memberBlue_Boy1-Jul-09 11:35 
GeneralRe: Sorting of file Pin
thavasi2-Jul-09 4:04
memberthavasi2-Jul-09 4:04 
Thnkx for the response...!!

First application is a report file generator, at the end of report generation it will create a trigger file with root path of those Report files. The second application will pick the trigger file and will Archive those report files to DB...

if i have ten trigger files present named 1.trg, 2.trg ... so on... The second application will pick the 1.trg and process it. After processing. it is not picking the 2.trg where as it starts picking 11.trg which the report gen was currently writing in. Where in i need the second application to pick 2.trg...

i have tried the following but no use...

*******************************************************

Type
FileRecTypePtr = ^FileRecType;
FileRecType =
Record
Time : String;
Name : String;
End;
pFileRecType = ^FileRecType;

Function FetchEOFFiles(SrcFoldName:String) : String;
Var
SearchRec1 : TSearchRec;
FilesList : TList;
FileRec : FileRectype;
FileRecPtr : pFileRecType;
Begin
FilesList := Tlist.Create;
If FindFirst(SrcFoldName + '\*.EOF', faAnyFile, SearchRec1) = 0 Then
Begin
FileRec.Time := FormatDateTime('yyyymmddhhnnss', SearchRec1.Time);
FileRec.Name := SearchRec1.Name;
New(FileRecPtr);
FileRecPtr^ := FileRec;
FilesList.Add(FileRecPtr);
While FindNext(Searchrec1) = 0 Do
Begin
FileRec.Time := FormatDateTime('yyyymmddhhnnss', SearchRec1.Time);
FileRec.Name := SearchRec1.Name;
New(FileRecPtr);
FileRecPtr^ := FileRec;
FilesList.Add(FileRecPtr);
End;
End;
Sysutils.FindClose(Searchrec1);
FilesList.Sort;
End;

***************************************************
GeneralRe: Sorting of file Pin
Rozis5-Jul-09 11:12
memberRozis5-Jul-09 11:12 
GeneralRe: Sorting of file Pin
herupokiojio3-Aug-09 11:51
memberherupokiojio3-Aug-09 11:51 
GeneralRe: Sorting of file Pin
Rozis3-Aug-09 15:24
memberRozis3-Aug-09 15:24 
GeneralUrgent Help... Pin
bulutas25-Jun-09 8:14
memberbulutas25-Jun-09 8:14 
GeneralRe: Urgent Help... Pin
Blue_Boy25-Jun-09 23:04
memberBlue_Boy25-Jun-09 23:04 
Questionsending mail in background Pin
havejeet25-Jun-09 1:36
memberhavejeet25-Jun-09 1:36 
AnswerRe: sending mail in background Pin
rickyjos25-Jun-09 13:28
memberrickyjos25-Jun-09 13:28 
AnswerRe: sending mail in background Pin
Rozis27-Jun-09 1:30
memberRozis27-Jun-09 1:30 
AnswerRe: sending mail in background Pin
ajayrp29-Jun-09 1:39
memberajayrp29-Jun-09 1:39 
QuestionProblem with remote control of Excel [modified] Pin
David_Mar10-Jun-09 6:27
memberDavid_Mar10-Jun-09 6:27 
QuestionREFRESHING DBGRID IN D7 Pin
hbez3-Jun-09 3:13
memberhbez3-Jun-09 3:13 
AnswerRe: REFRESHING DBGRID IN D7 Pin
Blue_Boy5-Jun-09 9:37
memberBlue_Boy5-Jun-09 9:37 
GeneralRe: REFRESHING DBGRID IN D7 Pin
hbez5-Jun-09 22:44
memberhbez5-Jun-09 22:44 
GeneralRe: REFRESHING DBGRID IN D7 Pin
Blue_Boy5-Jun-09 23:15
memberBlue_Boy5-Jun-09 23:15 
GeneralRe: REFRESHING DBGRID IN D7 Pin
hbez6-Jun-09 1:29
memberhbez6-Jun-09 1:29 
GeneralRe: REFRESHING DBGRID IN D7 Pin
Blue_Boy6-Jun-09 3:21
memberBlue_Boy6-Jun-09 3:21 
GeneralRe: REFRESHING DBGRID IN D7 Pin
hbez6-Jun-09 3:26
memberhbez6-Jun-09 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.