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

[REBOL] Multiple Keys

From: louisaturk:eudoramail at: 13-Jul-2001 15:21

Hi Rebol Experts, I need to use two keys in order to search for unique records in a database (to make sure I don't insert duplicates). The following line does not work: if all [not find database code not find database chknum] [ insert-data code chknum date amount special ] The problem is that the two finds are finding different records. I need for both finds to check each record in the database simultaneously for the two keys. It seems to me that this should have a real simple answer, but I was up too late last night trying to finish this program, and now my brain doesn't want to function. :>) Do I perhaps need a new function here? Louis