Lotus Notes / Domino Sonstiges > Help-Desk Applikation !!Help!!

Muss-Felder konfigurierbar ?

<< < (2/3) > >>

joet72:
Hallo !

Danke für die vielen Tipps. Werde ich direkt mal ausprobieren  ;D

baces:
Noch eine Frage zur VALIDATION:

Bis jetzt klappt das echt wunderbar := Wir haben schon schöne Zusammenhänge aufgebaut :)

Jetzt die Steigerung, wie kann ich eine Abhängikeit von Feldinhalten überprüfen ?

Wir wollen wenn das Feld tickettype "SYSTEM-Ausfall" gesetzt ist zwingend z.B: das Iccidenddate gefüllt sein muß. Aber ich glaub da fehlt uns ein Schlüsselwort  so wie NOBLANK oder ISDATE  ???

Thomas Schulte:
Hier mal ein Auszug aus unserer Validierung für die !!System!! Datenbank:

--- Code: ---keyKindOfSystem|NOBLANK|default
keySystemStatus|NOBLANK|default
txtStockLocation|NOBLANK|default
txtArticleIndicationSystem|NOBLANK|default
txtInventoryNumber|NOBLANK|default
txtSerialNumberSystem|NOBLANK|default
txtManufacturerSystem|NOBLANK|default
numNumberOfItems|NOBLANK|default
keyMoreTechnicallyWasEntitled|NOBLANK|default
keyMoreTechnicallyWasEntitled|DEPENDAND|default|ISVALUE#default#1~txtRemark|NOBLANK|default
rate|NOBLANK|default
keyBaseType|NOBLANK|default
optStandardDevice|NOBLANK|default
optStandardDevice|DEPENDAND|default|ISVALUE#default#1~namResponsiAcquisitArbitraryDev|NOBLANK|default
optStandardDevice|DEPENDAND|default|ISVALUE#default#1~txtReasonAcquisitionArbitraryDev|NOBLANK|default
keyStocktakingStatus|DEPENDAND|default|ISVALUE#default#3~keyStocktaking|NOBLANK|default
keyStocktakingStatus|DEPENDAND|default|ISVALUE#default#3~datStocktakingDate|NOBLANK|default
keyStocktakingStatus|DEPENDAND|default|ISVALUE#default#3~namConductorStocktaking|NOBLANK|default
keyStocktakingStatus|DEPENDAND|default|ISVALUE#default#3~numStocktakingQuantity|NOBLANK|default
Repair|DEPENDAND|default|NOBLANK#default~RepairCompany|NOBLANK|default
Repair|DEPENDAND|default|NOBLANK#default~RepairDateFrom|NOBLANK|default
Repair|DEPENDAND|default|NOBLANK#default~RepairDateTo|NOBLANK|default

--- Ende Code ---
Das wäre dann auf deine Verhältnisse übertragen:
TicketType|DEPENDAND|default|ISVALUE#default#SYSTEM-Ausfall~IncidendDate|NOBLANK|default~IncidendDate|ISDATE|default
Das wäre dann: Wenn das Feld Ticket Typ den Wert "SYSTEM-Ausfall" hat dann darf das Feld IncidendDate nicht leer sein und das Feld IncidendDate muss ein Datum sein.

Übrigens REGEX gehen (zumindest auf Windows Systems) auch.

Thomas Schulte:
Folgende Input Validations sind möglich:

NOBLANK - test to see if the field has a value
ISNUMBER - test to see if the field has a numeric value(s)
ISDATE - test to see if the field has date or time values
ISLIKE - Tests field against pattern string (see the Like operator in the LotusScript documentation)
LENGTHBETWEEN - Test the length of the field's value to be between a specified range.
NOBLANKNUM - tests to see if the value in the field is not blank and that it is a number (combines NOBLANK and ISNUMBER)
NUMRANGE - test to see if the value in the field is between a specified range
ISVALUE - test to check if a field has a specific value as text
DATETIMECOMPARE - test if a datetime field is bigger, Biggerequal, lower, lowerequal or equal to another date field
COUNTENTRY - test if a number of entrys is selected count if the number of the selected are lower, lowerequal, bigger, biggerequal or equal to the number given

REGEX - This tests that the field contains a value that matches a regular expression
(can only be used on Windows systems where the VBScript.RegExp Object is available)

DEPENDAND - test to see when value of field is dependand from another field. The last parameter must contain a full functional call of the other field
             FieldName|ValidationCode|ErrorMessage|Validationcode2|FieldNameDependand~Validation~ErrorMessage~[Parameter1~Parameter2...]

baces:
Gigantisch  ;D

Genau was ich erwartet habe  ;D

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln