-
Hi,
Follow the below steps to submit the data to the data base using a button.
1. Take the main data connection as data base connection.
2. Take a button and change the action to ‘Submit’.
3. Click Submit Options, and choose ‘select data ...
-
Hi,Use the following code.function CTRL2::OnClick(eventObj)
{if (XDocument.DOM.selectSingleNode("/my:myFields/my:EnteredBy") != null){
var Enteredby = XDocument.DOM.selectSingleNode("/my:myFields/my:EnteredBy").text;
if (parseInt(Enteredby, 10) == ...
-
Hi,
Make sure that the form is a full trust form.
-
Hi,
if(XDocument.IsNew)
{
XDocument.DOM.selectSingleNode("xpath").text = "default value"
}
-
Hi, Make sure that the type of Contact selector and the field which you are trying to bind should be same. Otherwise change field (to which you are trying to bind with Contact selector) type same as contact selector.
-
Hi, Once check the default value of the text box field. May be you are setting some time default.
-
Once use the following code. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cmd As New SqlCommand("spInsertData", New SqlConnection(ConfigurationManager.AppSettings("ConnString")))
cmd.CommandType = ...
-
Hi, To show the default only for a new document, first remove the default value from the field properties. Then place the following code line in onload event.If(thisXDocument.IsNew){thisXDocument.DOM.selectSingleNode("/my:myFields/my:Field1").text = "defaultValue";}Here field1 -> drop down list field
-
Hi,Make sure that you have permissions to access the data base. And also make sure that the form should be a full trust form. To make a form full trust, follow the below steps.1. Go to tools->form options2. In the security and trust tab, uncheck ‘Automatically determine security..’ and select ‘Full ...
-
Hi,We cannot remove the blank value in drop down. But we can set an xml value as default value instead of blank value. In this case blank value will be displayed in the dropdown but by default first value will be selected when you open new form.1. Go to data source in the task pane and Double click on dropdown field. ...