Ignore:
Timestamp:
Jul 7, 2010, 4:31:10 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Upgrade to version 27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/Consults/rConsults.pas

    r456 r829  
    285285           Results[i] := x;
    286286         end;
    287        Dest.Assign(Results);
     287       FastAssign(Results, Dest);
    288288     end
    289289    else
     
    299299begin
    300300  CallV('ORQQCN DETAIL', [IEN]);
    301   Dest.Assign(RPCBrokerV.Results);
     301  FastAssign(RPCBrokerV.Results, Dest);
    302302end;
    303303
     
    306306begin
    307307  CallV('ORQQCN MED RESULTS', [IEN]);
    308   Dest.Assign(RPCBrokerV.Results);
     308  FastAssign(RPCBrokerV.Results, Dest);
    309309end;
    310310
     
    327327  alist := TStringList.Create ;
    328328 try
    329   alist.Assign(RPCBrokerV.Results) ;
     329  FastAssign(RPCBrokerV.Results, aList);
    330330  x := alist[0] ;
    331331  if Piece(x,u,1) <> '-1' then
     
    459459begin
    460460  CallV('ORQQCN RECEIVE', [IEN, ReceivedBy, RcptDate, Comments]);
    461   Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     461  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    462462end;
    463463
     
    466466begin
    467467  CallV('ORQQCN2 SCHEDULE CONSULT', [IEN, ScheduledBy, SchdDate, Alert, AlertTo, Comments]);
    468   Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     468  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    469469end;
    470470
     
    473473begin
    474474  CallV('ORQQCN DISCONTINUE', [IEN, DeniedBy, DenialDate,'DY',Comments]);
    475   Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     475  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    476476end;
    477477
     
    480480begin
    481481  CallV('ORQQCN DISCONTINUE', [IEN, DiscontinuedBy, DiscontinueDate,'DC',Comments]);
    482   Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     482  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    483483end;
    484484
     
    486486     ActionDate: TFMDateTime; Comments: TStrings);
    487487begin
    488      CallV('ORQQCN FORWARD', [IEN, ToService, Forwarder, AttentionOf, Urgency, ActionDate, Comments]);
    489      Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     488  CallV('ORQQCN FORWARD', [IEN, ToService, Forwarder, AttentionOf, Urgency, ActionDate, Comments]);
     489  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    490490end ;
    491491
     
    493493AlertTo: string) ;
    494494begin
    495      CallV('ORQQCN ADDCMT', [IEN, Comments, Alert, AlertTo, ActionDate]);
    496      Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     495  CallV('ORQQCN ADDCMT', [IEN, Comments, Alert, AlertTo, ActionDate]);
     496  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    497497end ;
    498498
     
    500500          RespProv: Int64; ActionDate: TFMDateTime; Alert: integer; AlertTo: string) ;
    501501begin
    502      CallV('ORQQCN ADMIN COMPLETE', [IEN, SigFindingsFlag, Comments, RespProv, Alert, AlertTo, ActionDate]);
    503      Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     502  CallV('ORQQCN ADMIN COMPLETE', [IEN, SigFindingsFlag, Comments, RespProv, Alert, AlertTo, ActionDate]);
     503  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    504504end ;
    505505
     
    507507AlertTo: string) ;
    508508begin
    509      CallV('ORQQCN SIGFIND', [IEN, SigFindingsFlag, Comments, Alert, AlertTo, ActionDate]);
    510      Dest.Assign(RPCBrokerV.Results);   {1^Error message' or '0'}
     509  CallV('ORQQCN SIGFIND', [IEN, SigFindingsFlag, Comments, Alert, AlertTo, ActionDate]);
     510  FastAssign(RPCBrokerV.Results, Dest);   {1^Error message' or '0'}
    511511end ;
    512512
     
    831831      ClinProcDateTime := StrToFMDateTime(Piece(x, U, 4));
    832832      Title := StrToIntDef(Piece(x, U, 5), 0);
     833      DateTime := StrToFloatDef(Piece(x, U, 6), 0);
    833834    end;
    834835  Result := AnEditRec;
Note: See TracChangeset for help on using the changeset viewer.