microsoft dynamics crm opening quick create forms from lookup fileds - dynamics-crm-2013

I need to know how to set which form to open when we click on the +New button in lookup fields in an entity form in microsoft dynamics crm.And is it possible that we can populate quick create form fields based on a form field ,on which the lookup field from which the quick create form was opened, is present?

There is no way to configure which Quick Create form to use depending on the field you start from our which button you press or any other client-side code. Only one Quick Create form can be used per entity.
It might be a good suggestion for http://connect.microsoft.com (if it is not already there).

I got the solution for opening quick create form.
We can set it by setting the following properties to the lookup field.
document.getElementById("lookupfieldname").setAttribute("entitylogicalname", "nameofentityyouwanttoset");
document.getElementById("lookupfieldname").setAttribute("entitytypecode", "codeforthatentity");
But I need to know that is it possible that we can populate quick create form fields based on a form field of the form on which the lookup field,from which the quick create form was opened, is present?

Related

How to add an existing form in a specific tabpage of a main form?

I'm working on an Access database that will generate forms automatically. For each form, I want to add a page with the same name of the form, and this page will contain the form.
For now, I managed to create the forms, to add a page on the tab control but I can't find the way to add the form created into the page.
In design view, it's possible to drag and drop the form directly into the page. Is there any way in VBA code to obtain the same result ?
Update: I want for the forms inserted to have 'Link Master Fields' and 'Link child fields' empty (unbound form).
Thank you!

Combo Box with multiple selections clicking ok

In access the multi combo box that I have requires me to click okay to add the selections to the box. Is there VB code to make it to where when you check beside the selections it automatically adds them to the box when you leave it?
If you are using SharePoint with this database, add the SharePoint tag to this post.
If you are NOT using SharePoint, my research indicates you should not use a multi-valued combo box.
Reference 1
Reference 2
Reference 3
Reference 4
It's one of the those features provided by Access that tries to offer a shortcut while undercutting good database design. The original classic is the Lookup Field.
If you still want to use this feature, VBA might let you smooth the user experience using
DoCmd.SetWarnings.False and (later) DoCmd.SetWarnings.True.

Ms Access 2007 ComboBox

I am using Access for a quick and dirty (ADP) interface for an SQL (Express 2012) database so data entry can begin before the MVC web app interface is complete.
There is one field I want to be varchar, I would like this field to either allow the user to type in a value or select from a distinct list of values previously used in that field.
I have that part down, but the problem is when it happens, I have to refresh the recordset to see the new item in the list, so if they choose add a new record, then the last item added is not visible in the list.
So I can get the distinct list, populate the box, allow for new entry, and save that to the DB, do I have to write a code behind to repopulate the recordset, do I need to write a code behind to maintain the list paralleled to the recordset, or is there just a property I am missing?
Thanks
(Added screen showing event)
As suggested, using the on current event on the form and the after update solved the problem.
Clicking the form section detail selected the detail sections property page not the form. Selecting the form from the drop down on the property page displayed the events I was suggested to use.
Many thanks to those contributing.
As the first suggestion of this was from Remau, with assist in locating that event from hansup, I will mark remau's post as answer. Thank you to both.
Don't requery the form, just requery the combo. The best bet is probably the current event which will work if more than one person is doing data entry. It will also work if people are editing the table as well as entering data. Events that only fire when a record is added will not pick up changes to the combo contents.
Private Sub Form_Current()
Me.MyCombo.Requery
End Sub

How to edit a record through a form on MS Access?

I'm new to Microsoft Access and I'm having a trouble implementing something.
Basically, I have a form with a combo box, some text boxes, and a command button.
What I want to do is have the user select a record from the combo box, which then populates the textboxes (I've already managed to do this). Once the data has loaded into the textboxes, I want the user to be able to edit the info in the textboxes, then press the command button so that it updates that record in the table.
This looks like the same odd form where you had trouble with delete. It sounds like you are working from the wrong end. Create a form based on a table or query, then add a combobox to find records on the form based on the selection. There are wizards to guide you through. You will then have a standard Access form where everything works as expected. When textboxes are changed, the data will be updated as soon as you move to another record, there is no need for save, it is the default for Access.
If you wish to use non-standard unbound controls, you will need to update with SQL or stored queries.

ECT External Content Type (using Infopath External Item Picker) with List

I would like to create a list with some External Data fields (and other fields) and customize it in Infopath, but it's not working.. InfoPath says:
The following fields in the SharepPoint list are not supported because
of their data type and will not be available in InfoPath Designer:
-field_1 (BusinessData)
-field_2 (BusinessData)
Is it possible to use an External Content Type (WCF Service) with a list in Infopath?
I mean, use an External Item Picker in a Infopath form that connects to a list. Or is it only possible with a Form Library?
Any ideas on how to solve this or a suggestion to another approach?
Thanks in advance.
It is possible to create the scenario you're referring to... if I understand you correctly, you want to use the External Item Picker to create a pick list within an external list against another list.
You would have to associate the two external lists (ECTs) within your BCS model. This association must be a foreign key based association. That done, SharePoint will automatically create an External Item Picker in the default list form.
I'm currently doing the same thing and it works for me in Sharepoint. However, when I modify the form in Infopath, I start to get errors whenever I select an item in the External Item Picker. As long as I don't use InfoPath to modify the form, it works fine in SharePoint.
I hope this answers your question.
Cheers!