Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How to change a status field by clicking a button. within the Seibel forums, part of the Enterprise Solutions category; By lciking a button in the list applet, the status field(static picklist ) should be changed to another value in the puicklist....
|
|||||||
|
|||
|
By lciking a button in the list applet, the status field(static picklist ) should be changed to another value in the puicklist.
|
| Sponsored Links |
|
|||
|
Re: How to change a status field by clicking a button.
i think this sicenario will be possible by using scripting
WebApplet_PreInvokeMethod(MethodName) { if(MethodName==Test) { var applet=this; var bc= aplet.BusComp(); with(bc) { SetViewMode(AllView); ClearToQuery(); SetSearhSpec("AccountStatus","Active"); ExecuteQuery(); var count=CountRecord(); var record=bc.FirstRecord(); } while(record) { bc.SetfieldValue("AccountStatus","Inactive"); bc.WriteRecord(); record=bc.NextRecord(); } return(CancelOperation); } return(ContinueOperation); } |
|
|||
|
Re: How to change a status field by clicking a button.
hi,
by using BC userprop we can achive this BC usier prop: Named Method n Value: "Method", "SET", "Status", "LookupValue(""TYPE VALUE"", ""XYZ"")" Regards, kiran |
|
|||
|
Re: How to change a status field by clicking a button.
Firstly you have must be idea about user property then u able to archive this.because user properties use for runtime changes in application. you write code there then must be given type and value pair must be given.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change to designing field or testing side | Geek_Guest | QTP | 1 | 12-03-2007 07:32 AM |
| I want to change my field | Geek_Guest | Career Advice | 1 | 08-14-2007 10:09 AM |
| Can you change the format of the date field | Geek_Guest | PeopleSoft | 2 | 06-14-2007 03:15 AM |
| I want to change my work profile to testing field | sunil gautam | Career Advice | 0 | 02-23-2007 06:04 PM |
| hai please advice me to change my career in software field | shidlingayya | Career Advice | 0 | 02-13-2007 01:25 AM |