Newbie question.

Good morning from Gran Canaria.

I´m new to Servoy Frameworks and I do not know how to get some things:

  1. I have a form with customers, the table has many fields. I would like to show the contact information in the main form and other fields in different tabs, like information about the way the pay, bank information, etc. What I wonder is the best way: should I put a tab in the dtl form with the forms that I want, should I use create tabs in the framework?

  2. I also want to add tabs to that form with related data: services the customer has, invoices, etc. I´m sure that to get that is better using tabs in the frameworks. The question is: the services tab must allow create, edit and delete records. I would like to do so showing a modal form, I mean when the users click on the add or edit button a modal dialog is shown and the user enters the data, then accepts or cancel the edition within that modal form.

I need you to guide me on this.

Thanks.

OK, after spending some time on this I almost got it working. I say almost because it works in SmartClient but it does not in WebClient.

I have overrided the following methods in the form I want to show in a dialog:

/** *
 * @param _event
 * @param _triggerForm
 *
 * @properties={typeid:24,uuid:"7CD44493-209D-4DB5-ADC2-F7CC3BD7F54D"}
 */
function dc_new(_event, _triggerForm) {
	var _params = new Object();
	_params.mode = "newCommit";
	_params.fields = ["idcliente"];
	_params.data = [forms.clientes_dtl.idcliente];
	globals.svy_nav_showLookupWindow(_event, null, "serviciosFijos", null, null, _params, null, null, true);
}

/** *
 * @param _event
 * @param _triggerForm
 *
 * @properties={typeid:24,uuid:"CF32EC65-C489-4F94-99B9-D16A1580F653"}
 */
function dc_edit(_event, _triggerForm) {
	var _params = new Object();
	_params.mode = "editCommit";
	_params.pk = foundset.idservicio_fijo;
	globals.svy_nav_showLookupWindow(_event, null, "serviciosFijos", null, null, _params, null, null, true);
}

That does the trick in SmartClient, but in WebClient the fields are not editable. Any clue??

Hi,

To answere this question we would have to take considerable time to look at you requirements. We are more then willing to help you but would have to charge you for the time spent. I understand that you are working for David Pearce. It may be an option for you too ask him to pay for this support.