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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

@Command for addressing mail in document

Status
Not open for further replies.

baileys

Programmer
Aug 1, 2000
3
0
0
US
I have a form with a button and when you click the button, I'm calling another form. Everything works on the other form, except the @SetField("SendTo"..... see formula below. I am able to pick from the NAB but I get an error stating "No names found to send mail to". Help is appreciated. PS - I'm a new developer. S-)

@If(@IsValid);
@Command([FileSave]);
@Command([EditMakeDocLink]);
@Command([Compose]; "AssignProg");
@SetField("Status";"PROG");
@Command([EditNextField]);
@Command([EditPaste]);
@SetField("SendTo";@PickList( [Name] ) );
@PostedCommand([FileCloseWindow]);
@PostedCommand([FileSave]);
@PostedCommand([FileCloseWindow])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top