Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create button

Status
Not open for further replies.

sc11pio

Technical User
Jul 10, 2003
20
SG
Hi there,

How do I create a button in Notes Client so that when user click on it, it will compose a memo, and send to myself?

This button work as a Feedback button for me.


Hope to hear from U =)

Reg,
Pio
 
Hi Pio,

I think, you should open your mail DB in the Designer and in the Folder "Inbox" you create a new action
the formula should be:
@Command([Compose];"Memo")

maybe you look at hide when clauses that's all


Regards

Stephan
 
Oups I forgot ;)

You have to change the mail db of all users ;)

maybe it's better to compose a new form "Feedback" where the submitto field is set to your mail adress

cheers


Stephan
 
Hi Stephan,

I managed to have the button create new memo, but how can I set the To: field to have my email address?

Pls advise me on the coding...

Thanks for your help :)

Rgd,
Pio
 
ok,

open the form Memo
select all (within the document)
copy to clipboard
create new form (eg Feedback)
paste
now search the field SendTo
double click it
change from editable to computed when compose
down in the programmers pane enter "[your email]"
now the fiel isn't anymore editable and the right name stands in it.
aftr this you have to create the Send button but I don't really know which commands to enter for it - have a look at notes help i suppose
and the action button you've just created should no be changed to
@comand([Compose];"Feedback")

That should work

Regards

Stephan
 
Try this out:

SendTo:="Your e-mail address here";
BodyText:="Your message body text here";
@Command([Compose]; @MailDbName; "Memo");
@Command([EditInsertText]; SendTo);
@Command([EditGotoField]; "Subject");
@Command([EditInsertText]; "Comments/Feedback");
@Command([EditGotoField]; "Body");
@Command([EditInsertText]; BodyText)

This will compose a new memo in the sender mail DB and fillin the text you place in the formula. All the user needs to do is click send.

Hope this helps
 

Thankyou so much! I got what I want. =)

Cheers,
Pio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top