Search - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Search

Page 1 of 1 (8 items)
  • Re: Simple if statement not working??

    another problem is that when i try and use rules to do this logic my signing even fires in the code behind also. It runs the rules and does everything ok but then the signing even still fires, signing event is below for your reference:   try { // Get the user name of the current user.string userName = this.Application.User.UserName; ...
    Posted to Code (Forum) by paul_mc_87 on 12-16-2010
  • Re: Simple if statement not working??

    yes, have been through debugger.  I thought that the statement would check either/or basically , does the | not do this?  for both the conditions to be meant would that not mean i should be using an &  all i want to achieve is that an approver can be the approver, distributedto or distributedfurther, messed about with all ...
    Posted to Code (Forum) by paul_mc_87 on 12-15-2010
  • Simple if statement not working??

    Hi ,   I have written many statements like the one below before, however this one simply wont work, I always get the messagebox appearing even if the conditions are not met, btw i realise i can achieve this with the GUI but i prefer to use code.  It is attached to a sign button, whereby it simply checks if the person mentioned if the ...
    Posted to Code (Forum) by paul_mc_87 on 12-15-2010
  • Associating infopath form with a sharepoint list's ID field

    Hi,  I am looking for ideas on a solution to the following problem:   I have a sharepoint list and am using the ID field to associate documents with a particular record, using web parts with filters for this bla bla bla anyway that works fine. I have an infopath form and I am using it as a content type, what i want is that when a ...
    Posted to SharePoint Integration (Forum) by paul_mc_87 on 06-03-2010
  • Re: Anyone have any idea why this code does not work?

    Hi thanks for the reply. The updated code is below but still not working, getting frustrated now. I have tried putting in the line "LDAP:// "samaccount name +userName2 " (or along those lines)   this is not working either.  public void Authoriser_Changed(object sender, XmlEventArgs e) { { // Ensure that the ...
    Posted to Newbie Questions (Forum) by paul_mc_87 on 05-18-2010
  • Re: Anyone have any idea why this code does not work?

    Hi I have done this, its getting stuck on this line   searchresult result = searcher.findone();   the username is being passed ok e.g. an example username would be "tsy".   its says "the "tsy" search filter is invalid" I dont understand how this can be invalid, it is the correct active directory ...
    Posted to Newbie Questions (Forum) by paul_mc_87 on 05-18-2010
  • Re: Anyone have any idea why this code does not work?

    its a mistake, i have put this line in now:   string userName2 = userName.SelectSingleNode("/my:myFields/my:Authoriser", NamespaceManager).Value.ToString().Remove(0, 6);   however still the same problem, output to a message box and the variable is being pulled ok but going wrong after that.   Thinking about assigning ...
    Posted to Newbie Questions (Forum) by paul_mc_87 on 05-18-2010
  • Anyone have any idea why this code does not work?

    I want to take the VALUE of a drop down down box (which is a list of users and the actual value is their domain username e.g. DOMAIN\username) pass it to a bit of code which searches Active directory and then outputs the users email address to a text box. I can do this for the logged on user no problem but the below code just does not work ...
    Posted to Newbie Questions (Forum) by paul_mc_87 on 05-18-2010
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.