Reading From a Text File

PaddyMullaneyPaddyMullaney Member Posts: 59
Hi,

I have a requirement to run a report based on data in a csv file. The idea being that I am provided with a list of contract numbers, and need to delete them from the database.

There are 2 issues, one I do not want to use a table, as I only have repport/dataport writer and 2 I do want to force the delete trigger to be used.

Any ideas?

Comments

  • ShenpenShenpen Member Posts: 386
    Read in a Text 1000 variable, in textmode. Parse it into an array with a FOR cycle and STRPOS. GET or SETRANGE-FIND the record and call DELETE(TRUE).

    Do It Yourself is they key. Standard code might work - your code surely works.
  • PaddyMullaneyPaddyMullaney Member Posts: 59
    Thanks Shenpen.
Sign In or Register to comment.