| | | Forum Newbie
       
Group: Forum Members Last Login: 7/8/2009 1:04:17 PM Posts: 6, Visits: 17 |
| Hi!
It is clear to me how to write data to brw textfields,dropdowns and checkboxes.
But some fields are activated only when button is pressed. So, after programm writes data to them anything is shown 
I can't find in SDK how to press a button .
LoanFile.GetData(***,BorrowerSetPositionType.Borrower)
and
LoanFile.GetDataAsDisplayed(***,BorrowerSetPositionType.Borrower)
returns null or "" in both cases - is button pressed or not
*** - id of button.
|
| | | | 
Sepal

Group: Moderators Last Login: Today @ 6:20:46 PM Posts: 1,465, Visits: 11,613 |
| could you give an example? Every field has an id its just a matter of finding the one you are looking for. even with out a button click the data is there.
Disclaimer: This post carries no explicit or implied warranty. Nor is there any guarantee that the information contained in this post is accurate. It is offered in the hopes of helping others, but you use it at your own risk. The author will not be liable for any damages that occur as a result of using this post. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 7/8/2009 1:04:17 PM Posts: 6, Visits: 17 |
| ......................
string value="123";
LoanFile.SetData(805, BorrowerSetPositionType.Borrower, value);
......................
After opening file in Point it look like in attach.
It seems to me, that button is nedded to be pressed
P.S.
Sorry for poor English - not native.
|
| | | | 
Sepal

Group: Moderators Last Login: Today @ 6:20:46 PM Posts: 1,465, Visits: 11,613 |
| Ok I see the issue typically field 805 is a calculated value so if you want to set it you will need to first set field 831 to X then the field will be unlocked and can store uncalculated data.
Disclaimer: This post carries no explicit or implied warranty. Nor is there any guarantee that the information contained in this post is accurate. It is offered in the hopes of helping others, but you use it at your own risk. The author will not be liable for any damages that occur as a result of using this post. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 7/8/2009 1:04:17 PM Posts: 6, Visits: 17 |
| Thanks, will try now.
By the way - sometimes GetData() and GetDataAsDisplayed() returns different values.
Just for FYI |
| | | | 
Sepal

Group: Moderators Last Login: Today @ 6:20:46 PM Posts: 1,465, Visits: 11,613 |
| GetDataAsDisplyed should return a formated string where as GetData returns the raw data. So they are supposed to be different.
Disclaimer: This post carries no explicit or implied warranty. Nor is there any guarantee that the information contained in this post is accurate. It is offered in the hopes of helping others, but you use it at your own risk. The author will not be liable for any damages that occur as a result of using this post. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 7/8/2009 1:04:17 PM Posts: 6, Visits: 17 |
| Tried your advice - works good. Thanks a lot.
About methods - when I try to get Property county code - GetData returns null and GetDataAsDisplayed returns code.
As this is a auxiliary field, i think it is not a problem. |
| |
|
|