Skip to main content



      Home
Home » Archived » EGL Development Tools » How-to compare two records
How-to compare two records [message #896924] Fri, 20 July 2012 08:58 Go to next message
Eclipse UserFriend
Can anybody show me how to compare two records in EGL ? TIA.
Re: How-to compare two records [message #896958 is a reply to message #896924] Fri, 20 July 2012 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wilfried,

Do you want to compare each field of the records to see if they're equal? There's no simple way to do that right now. You must write something like this:
if ( rec1.field1 == rec2.field && rec1.field2 == rec2.field2 && ... )

-Matt
Re: How-to compare two records [message #897164 is a reply to message #896958] Sun, 22 July 2012 16:02 Go to previous message
Eclipse UserFriend
Hi Matt,

You showed me the hard way I'd like to avoid: implementing something like java equals() methods.

Nevertheless, thank you for your reply,

Wilfried
Previous Topic:SQLException
Next Topic:SQLite3 Connection
Goto Forum:
  


Current Time: Thu May 15 13:04:46 EDT 2025

Powered by FUDForum. Page generated in 0.03402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top