OK, I see how that would work. But let me change the scenerio a bit. Let's say that I need to find the length of the data in "Profiles_1" and if it is greater than X then do this, otherwise do this. Then go to the next record and do the same until the end of the records. How would I do that?
Thanks for your help.