Hi Craig.
Yep, that's how I ended up rewriting the function and also fixing my snafu. . . The reason this happened in the first place was that in the function I was pointing to the wrong table. Just a dumb mistake. -Rick
>>Rick,
>>
>>Another idea is to pass the cust_id as a parameter to a revised version of GetBval with
oApp.GetBval(tempcur.cust_id)
so that the method does not have to rely on the record pointer outside of itself, but receives all the info it needs in the call.
>
>This is my recommendation too.