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])
@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])