when I press a "New" button in list applet, there appeared new row with activated particular field,
I need to check, if correct field is activated.
The question is: how to know which field in list applet is active now?
Thanks.
Related
The plan:
I have a single form with a text box that I type a serial number into. [intUID]
The subforms on this same form use this to query and display related information. After I typed a serial in, I needed to refresh to get the subforms to requery, see code below. This works fine. I then set focus back into the serial number text box, ready for the next entry. This also works fine.
The rub:
I want the text box to stay fully selected when I get focus set back to it. That way, when the next serial is entered, it deletes the old one. My code does this (can be seen stepping through the code) until the "End Sub" when it unselects it!
Private Sub intUID_AfterUpdate()
'Refresh sub forms
Forms![frmMain]![q_AG_CenterLines_X subform].Form.Requery
Forms![frmMain]![q_AG_CenterLines_Y subform].Form.Requery
'Set focus back on the barcode
Forms![frmMain]![txtSchedule].SetFocus
Forms![frmMain]![intUID].SetFocus
'Select all the text in [intUID]
Forms![frmMain]![intUID].SelStart = 0
Forms![frmMain]![intUID].SelLength = Len(Forms![frmMain]![intUID])
End Sub
I want to show the contact first name in the e-mail, but if the first name field is empty I want to show some other field. Is this possible?
Something like this:
Hi {contactfield=firstname} or if empty {contactfield=email}
Thank you in advance.
Yes it is possible, you can use "Dynamic Content" option available in slot type. it allows you to use variations in the content based on value of the the field.
simply add the slot, then put in a default value, click Add Variant and at the bottom right you can choose the field and comparison option.
I want to make an edit box where an user must enter a password. When they enter the password I want the character not to be displayed, and rather an *. Are there any properties that can be set to do this, I know how to set the TEdit to remain blank while entering but I do not want that. Im using Delphi XE2
I remember from my old days in Delphi that TEdit had a property for that.
Searching on Google, I found this
Namely: "Use the PasswordChar property to create an edit control that displays a special character in place of any entered text."
I have seen that in the TEdit there is a property named PasswordChar. I assigned the * value to it and now the Edit box does not show the characters that is entered into the box
I have a list called Case,in the Case form i have the folowing hyper link
http://appserver/Lists/Hearings/Item/newifs.aspx?List=928323ea%2Deace%2D4220%2D845c%2D84871b4f00a8&=&Case_x0020_Number=100000
if you can see at the end of the url I have the item Case Number,what I want is to make the Hearing add new form to have the value of 10000 at the Case Number
so the user don't need to re-enter the value.
but when I click that link it open the new form thing but the field corresponding to that value is blank.
Note : from the share point it self the Case Number of the Hearing is lookup from the Case Number.
is there away to accomplish this?
You say
but when I click that link it open the new form thing but the field corresponding to that value is blank.
This happens when you click the hyperlink directly from the list view?
If you want your "Case number" field to populate dynamically you should create a calculated column, and use a formula to take the current "Case number" for the selected item. After that you can create a Hyperlink in InfoPath and navigate from the item's edit screen...
The formula for the calculated column should be something like this:
=("LocationToNavigate?queryStringParameter="&ListFiedName)
I'm looking for an enchanced edit component that allow users to input multiple tokens (items) manually separated by some symbol, or to select them from another source.
It's something like "TO" field in outlook or facebook that allow you to input multiple recipients.
Can anyone suggest any solution?
The way we sort of do it is to use an normal button edit box and when the user clicks the button we present a separate form (which can be made to look like a drop down box if you like) with a checklist or listview with checkboxes enabled or similar. The user selects any number of the items then when the form closes we take the list of selected items and present them in the edit as a comma or semi-colon separated list. The edit itself is read-only so all interaction goes through the separate form.
But - I really don't like the whole approach (for our app) as it doesn't look good when you have many selected items and I'm looking to find a better way of showing the selection! I suppose one option is to use a read-only memo with scrollbars to show the items.
TMS has some nice components, one of which is the TCheckListEdit which might be of use.