I do not what any of your field types are, I do not know what your variables types are, I do not know what version of paradox you are using, I do not know what your error message is, etc, etc, etc.. my example was just an example to give you ideas.. if you supply much more detail, and post your message on the "paradox community" forum, you can get some great help..
Home - Paradox Community
go to support, then go to newsgroups..