I need an very simple agent

Hello,

In names.nsf I need to put into the field Full Name an additional information like firstname.lastname@newdomain.com.

Could someone provide me the simple formel for this task please

Thanks in advance

leslaw

Subject: I need an very simple agent…

Why do you need to manipulate data in names.nsf?

I would avoid changing things in there if poss.

Subject: RE: I need an very simple agent…

users should be available by a second domain and second e-mail address

Subject: RE: I need an very simple agent…

Huh? We’re talking about adding a value to the FullName list, which is a perfectly reasonable thing to do.

The agent, by the way, would look like this:

FIELD FullName := FullName : (FirstName + “.” + LastName + “@newdomain.com”);

SELECT Form = “Person”

Subject: RE: I need an very simple agent…

Thanks a lot Stan,

two lines save so much time in such short life ,)

Its working perfect.

leslaw

Subject: I need an very simple agent…

I would consider not modifyng the names if you could :)Something like this should works (not tested) :

@SetField(“FullName”;FullName:FirstName + “.” + LastName + “@webdomain.com”)

Subject: RE: I need an very simple agent…

Thank you for the answer but this formel replace all existing entries for this field but I need append some additional informations

Subject: RE: I need an very simple agent…

I think you forgot the FullName: statement which include the contents of the field FullName similar to FIELD FullName := FullNAme : [your new value here]

SELECT @ALL

I simply prefer the @setfield :slight_smile:

[Edit] just saw the other answers :slight_smile: