Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: REBOL Relational Object-oriented Database

From: louisaturk:eudoramail at: 22-Jun-2001 12:04

Hi Scott, I can't get this one to work. At 05:22 PM 6/21/2001 -0500, you wrote:
>change-data: func [email-old email-new /local record] [ > record: find database email-old > if none? record [alert reform ["Missing record:" email-old] exit] > record/1: email-new >]
I think I may not have made clear what I need the function to do: after finding the record using Carl's find-data function, I need a function that will pull up whichever field I choose (with its contents), and allow me to edit (correct typos in) those contents. The program will then write the change to the file using Carl's save-data function. Perhaps the function should be named edit-data instead of change-data to make its use clearer. Louis PS Your print report code and export data code works great. I haven't had time to put your import data code into the program yet; I'll let you know how it works. Thanks again.