SubmitToSharePointList with filter? - InfoPath Dev
in

InfoPath Dev

SubmitToSharePointList with filter?

Last post 08-10-2011 10:43 AM by shniggens. 21 replies.
Page 2 of 2 (22 items) < Previous 1 2
Sort Posts: Previous Next
  • 08-08-2011 05:24 PM In reply to

    Re: SubmitToSharePointList with filter?

    Uhhhhhh.  It's Monday again.  ; )   Thanks.  Sometimes it's the simple things. 

  • 08-08-2011 05:28 PM In reply to

    Re: SubmitToSharePointList with filter?

    Well, you weren't having a Monday all by yourself - you kept telling me what you were trying to do, and I kept overlooking the ! in front of the = myself. :-}

    Hilary Stoupa

  • 08-09-2011 08:01 AM In reply to

    Re: SubmitToSharePointList with filter?

    Hilary Stoupa:

    Sounds like you are saying you want:

    [my:Total != 0 and my:PullID = '']

    So that you submit anything that has not been submitted (i.e., pull id is equal to blank) but has a total that is not equal to zero.

     

    Actually, now looking at it, I think I need -

    [my:Total != 0 or my:PullID != '']

    That way new items that equal zero will not be submitted.  But items that are zeroed out later (that have already been submitted), will get updated in the list still.  No, because if it zeroed out it still won't submit.  Dangit!

    I want new items (no ID) with values of 0 to not be submitted.  But if an item gets zeroed out later (after being submitted; ie, with an ID), I want them to get updated in the list. 

     

     

  • 08-09-2011 10:45 AM In reply to

    Re: SubmitToSharePointList with filter?

    Okay - so you want new items with non zero amounts to be submitted:

    [my:Total != 0 and my:PullId = ""]

    AND, if something that has been submitted gets changed to 0, it should still be submitted - but shouldn't it just be the case that if it has a PullId, it is always submitted? If so:

    [my:PullId != ""]

    So, to combine:

    [(my:Total != 0 and my:PullId = "") or my:PullId != ""]

    Hilary Stoupa

  • 08-09-2011 11:08 AM In reply to

    Re: SubmitToSharePointList with filter?

    That what I'm talking about!!!!   Thanks!   Eventually, I won't be too quick to exhaust all my mental resources. 

  • 08-10-2011 10:37 AM In reply to

    Re: SubmitToSharePointList with filter?

    It appears that it does not like the syntax.  I get a "Failed to generate batch from mapping" error with the combined rule. 

  • 08-10-2011 10:43 AM In reply to

    Re: SubmitToSharePointList with filter?

    I found that using this filter - [my:Total != 0 or my:PullID !=''] works just fine for my scenario. 

Page 2 of 2 (22 items) < Previous 1 2
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.