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 Problems 1

Status
Not open for further replies.

carlingac

Technical User
Jan 31, 2005
25
0
0
GB
Hi

I have a save button on a form with the following formula in it.

@If(@Command([FileSave]);@Command([FileCloseWindow]);"");
@Command([OpenFrameset];"Admin2")

The form has a number of field on it with validation set.

All i want the save button to do is save the form if it passes all the valdation rules then close the form and open a frame set.

I also tried this;

@Command([FileSave]);
@Command([FileCloseWindow]);
@Command([openframeset];"Admin2")

But that didnt work either.

Any Ideas anyone?

Many thanks




 
It Ok i finally worked it out...well searched the net until i found soultion! its only took a day out my life!:

The formula is:

@If(@Command([FileSave]);@Do(@Command([CloseWindow]);@Command([Openframeset];"Admin2"));"")
 
well have a star, not only for figuring it out, but posting the answer!!

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top