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!
|
|
Tab updating after switching to another contact
Posted: 28 Jul 10 6:02 AM
|
Hi,
I made some tab for Contact view, but it's not updating after switching to other contact, and displays data of previous contact. I have tried to use OpenForm, ChangeForm and CreateForm events but it doesn't work.
We are using SLX version 6.2.6
I'm new in VB and SLX so it's big trouble for me |
|
|
| |
| |
|
Re: Tab updating after switching to another contact
Posted: 29 Jul 10 7:34 AM
|
Getting a grid to update automatically is a two step process. 1. Bind the "BindID" property of the grid to the ContactID 2. Open the Query Builder from the SQL property. At the bottom of the Grid Details tab there is a box where you can set the field that should be compared to the BindID property. Drag the appropriate field there (or double-click it in the fields list when on this tab)
Example: If you were making a grid of Addresses for the contact, you would change the Table dropdown to Address, then find the EntityID field in the field list and double-click it to set it in the box. Then the grid will automatically load all Addresses where the EntityID (set in the query builder) of the address matches the ContactID (set on the BindID property) of the current contact. |
|
|
|