>Hello, I have a class in a prg. One of the properties I set is a tablename that can be several differnt tablenames with the same field structure. In a procdure I want to reference a field within the table which was set to the property. I am having trouble being able to refernce it.
>
>Any help here would be appreciated.
>
>James
Use an alias:
use MyTableJan2002 alias MyTable
Then, you can access by the alias:
.ControlSource = "MyTable.Field1"
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)