Search code examples
databasevisual-foxprofoxpro

Check 2 same data in different table in vfp, so i can put it in an IF statement


If table_A.firstname had the same exact data in table_B.firstname then a messagebox will appear. I would like to know what is the code for that?


Solution

  • It is as simple as:

    if trim(table_A.firstname) == trim(table_B.firstname)