Replace Object

ikbenivo

Replace Object

Beitragvon ikbenivo » Do 6. Jul 2006, 14:49

Hello,
I'm making a memberslist kind of feature:
Members register trough a form and their data is placed in the customer managent Pro module. When saving that data, I'm also writing the same data in a object. The fields in the class are the same as in the customer module.
(so 'Username' in the customer module = 'Username' in class (and objects))

Now I can make a listview with those objects (based on the customer module data)
So far so good.

But users also have to be able to edit their data. I've a form with sessionfields to do that. In the customer module, everything goes fine: the data is changed.
But I want the object of this user also to be updated. Now it's just making a new object everytime.

How can I overwrite/replace this object?

It has for example a field with the name ID, that's the same as the ID of the customer. Can I do something with that?

Thanks in advance.
If you need more info, or my template codes in order to help; please let me know!

ikbenivo

Beitragvon ikbenivo » Di 25. Jul 2006, 14:17

up..................


Zurück zu „DB / Object Module“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste