EXEC TAA DELETE Statement

Beispiele

Delete :

  1. EXEC TAA
  2. DELETE SNLPPME
  3. END-EXEC
{
   var rec = this.Data.Snlppme.Current;
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}

Delete Next:

  1. EXEC TAA
  2. DELETE NEXT SNLPPME
  3. END-EXEC
{
   var rec = this.Data.Snlppme.NextOrDefault();
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}

Delete First:

  1. EXEC TAA
  2. DELETE FIRST SNLPPME
  3. END-EXEC
{
   var rec = this.Data.Snlppme.FirstOrDefault();
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}

Delete Previous:

  1. EXEC TAA
  2. DELETE PREVIOUS SNLPPME
  3. END-EXEC
{
   var rec = this.Data.Snlppme.PreviousOrDefault();
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}

Delete Last:

  1. EXEC TAA
  2. DELETE LAST SNLPPME
  3. END-EXEC
{
   var rec = this.Data.Snlppme.LastOrDefault();
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}

Delete num.Literal:

  1. EXEC TAA
  2. DELETE SNLPPME (INDEX-SNLPPME)
  3. END-EXEC
{
   var rec = this.Data.Snlppme[IndexSnlppme]();
   if (rec != null) {
       this.Data.Snlppme.Remove(rec);
   }
}
cobmig:cs:procdiv:stmt:taa:obj:delete · Zuletzt geändert: 09.08.2024 13:25

Copyright © 1992-2024 TeamWiSE Gesellschaft für Softwaretechnik mbH         Adressen |  Kontakt |  AGB |  Datenschutzerklärung |  Impressum