Mat,
You're welcome. =)
~~Bonnie
>Bonnie,
>
>Thanks, that fixed the problem. Kevin will have to correct the sample in the Developer's Guide.
>
>Kind Regards,
>
>Mat
>
>>
>"A local variable named 'dv' is already defined in this scope">>
>>Mat,
>>
>>The error means that you've already defined a variable called dv elsewhere in your code. Try this instead:
>>
>>dv = (ds.GetDataView("dv" + this.CurrentTableName, this.CurrentTableName));
>>
>>
>>~~Bonnie