>>>>Try
>>>>
>>>>lcAlias = thisform.z_CN()
>>>>
>>>>replace ... IN (m.lcAlias)
>>>Yes, I know, but i want to do this in one line. ( for some reason ! )
>>
>>Does the above work? What is the reason - if two lines work, then let it be.
>
>because i have a form with a pageframe on it with 10 pages and i have at least 20 line in each page that have this command line in different shape :)
If the code in 2 lines works and in 1 does not, then let it me extra lines - as long as it works.
If it's not broken, fix it until it is.
My Blog