This is my first time using this forum so forgive me for not "quoting" your reply to me. Your solution does not work at runtime. I have tried it and I don't get the correct results. As for the UDF in the controlsource as replied to me by Edward, I've yet to try it but will give it a shot also.
I think this problem has something to do with the table which will be the controlsource for the grid being bound into the dataenvironment as well as the grid at design time.
Michael Haggerty
amkhag@erols.com
haggertm@pwba.dol.gov