@novinosrin Good morning! Sorry for not being precise. Let me answer your questions below. 1. "I want the code to pick the latest values from master table and continue the calculations in the new_data table. "-- Do you want to replicate the same solution in the other thread just using the Master_table and New_data. Ans- YES, I have already run the code for the Master_data table. So the Master_data table has calculated variables (probation_count, probation_flag and cure_count). Now I have the latest data in a new_data table. One way to do achieve the solution is appending master_data table and new_data table, and then running the (WANT) code. Unfortunately, master_data table is huge and I do not want to run the code again on it. Instead, I want the code that picks the latest probation_count and cure_count for the given CID from master_table and continue the calculation in the new_data table creating probation_count, probation_flag and cure_count. 2. "I want the code to pick the latest values from master table and continue the calculations in the new_data table. "-- Do you want to replicate the same solution in the other thread just using the Master_table and New_data. ans- NO, in the other thread, you helped me achieve the same thing with a different code. there also I had a code that needs to be using the latest value from another table and continue the calculation in the new table. 3 Or is it a rewrite of the same WANT code logic here, however with inclusion of New_data? ans- YES
... View more