Midware TMWBuffer.Prior

From Overbyte
Revision as of 19:34, 5 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TMWBuffer -> Prior == Definiti…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main page -> Midware component reference -> TMWBuffer -> Prior

Definition

procedure Prior;

Description

Prior method makes the previous record the current one. See also Eof, Bof, First, Last, Next and Prior methods.

Example

The following code iterate MWBuffer data starting from first record up to last record. <syntaxhighlight lang="delphi">

 MWBuffer1.First;
   while not MWBuffer1.Eof do begin
       Memo1.Lines.Add(MWBuffer1.RecordToString);
       MWBuffer1.Next;
   end;

</syntaxhighlight>