It sounds like you can do as Mr. Pikman suggested, just put a parameter statement in the init event. Pass the table/field names in the create command:
oClass = CREATE('MyClass', 'Customer', 'Name')
You can also add methods to the container class, which can be called to update or set values:
oClass.MyMethod('Customer', 'Name')
Good Luck!
Mark
>I am trying to convert a container into a class but I am not sure about how to make the table and field names as variables and pass table and field names as parameters from the calling program. Please HELP!!
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.