Konparatu / Datak Blank proba SharePoint Designer eu

Eszenatoki: Bat SharePoint Designer eu, you need to determine if a date field is blank.

Arazoa: SPD does not provide a direct method for comparing dates to anything other than a date. You cannot create a condition like this: "If [Data Eremua] equals blank".

Irtenbidea: Convert the date to a string. Use string comparison to determine if the date is blank.

Screen Shots:

The following screen shots show how to do this. Egoera honetan, Elementu batean eremu bat, "Environmental Permits:First Permit Reminder Date", aurkeztu da, eta erantzuna suteak eu.

image

image

Oharrak:

Hori saiatu naiz, I was pleasantly surprised to learn that it works. I was worried that SharePoint Designer might disallow the string assignment (Aldakorra:StringReminderDateDate) baina baimendu egin du.

Ere izan nintzen kezkatzen duten aukera ematen du, balioa nulua izan daiteke eta bai putz sortu exekuzio at WF edo agian tenperatura globala igo 1/2 maila bat, baina kezka horiek unfounded.

</amaiera>

Technorati Tags:

5 buruzko gogoeta "Konparatu / Datak Blank proba SharePoint Designer eu

  1. Tim

    Galderak:
    1) Denean, batez ere, saiatu naiz, it’s not working because the value of a blank date seems to be "?????" (Hau transposed NULL balioa ez da, nire ustez,). Noiz dinamikoa katea edukia erakutsi dut, it shows up as "?????".

    2) Joe – when you wrote "If Field is greater than or equal to Today or Field is less than or equal to Today", do you mean that you can use variables like "Today" fluxuak en? Hala bada, nola azaldu? Izan dut, zorte ez da saiatzen, eta besterik ez dut egin ahal izan diren balio-zerrendak dauden ateratzeko.

    Erantzun
  2. Joseph
    Zergatik ez besterik probatzeko baldintza:
    Eremua baino handiagoa edo berdina bada, Gaur
    edo eremua baino txikiagoa edo berdina Gaur
    This would give you an "if field is not blank, Horretarako, bestela (eremua hutsik) Hori egin"
    Erantzun

Utzi iruzkin bat

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak markatu dira *