The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
RefreshMainView...
Posted: 24 Apr 07 3:36 AM
|
fiogf49gjkf0d ... doesn't work! Any work around?
Cheers Kevin |
|
|
|
Re: RefreshMainView...
Posted: 24 Apr 07 10:50 AM
|
fiogf49gjkf0d RefreshMainView does work, but the results are often misunderstood (ie: expecting it to do something else). What is your scenario that you're trying to do so we can come up with the correct approach?
Ryan |
|
|
|
Re: RefreshMainView...
Posted: 25 Apr 07 3:40 AM
|
fiogf49gjkf0d Hi Ryan,
To put it in basic terms, there is a field on the main account view that is edited from a popup dialog triggered from a button. The form is launched, the users edit what they want edited and then click ok. Previously using the legacy form's RefreshMainView function, the form would close and the field on the main account screen would refresh showing the changes the user has made.
Since I've converted the screen to VB Script and am now using the Application.BasicFunctions.RefreshMainView functionality, when the form closes the field on the main account view doesnt update 
|
|
|
|
Re: RefreshMainView...
Posted: 25 Apr 07 3:41 AM
|
fiogf49gjkf0d We are talking about one field in question here stored in an edit box (not a data grid) just for the record! |
|
|
| |
|
Re: RefreshMainView...
Posted: 25 Apr 07 10:52 AM
|
fiogf49gjkf0d Kris, you hit it on the nail with the form.refresh, can't believe I didn't think of that myself. Cheers Kev |
|
|
|
Re: RefreshMainView...
Posted: 30 Apr 07 1:13 PM
|
fiogf49gjkf0d This is slightly off topic, but I am trying to figure out how to refresh a custom form. I have a datagrid on the form that I would like to refresh/ update when the user clicks save so that they can see what they just entered. Is this possible? |
|
|
|
Re: RefreshMainView...
Posted: 30 Apr 07 1:23 PM
|
fiogf49gjkf0d DataGrid.Refresh. Form.Refresh is the equivalent of clicking OK, navigating to the record in a grid, then clicking Edit. While that CAN reload a grid (by rebuilding it), it'll never be as fast as refreshing the grid itself. |
|
|
|