J
|
Jane 12/17/2008 |
Philip, |
P
|
Philip author 12/17/2008 |
Philip, use Before record added event on the Events tab for this purpose. All entered values are stored in the dict collection, I.e. dict("Field1"), dict("Field2"), etc.
|
J
|
James_Parker 1/5/2009 |
Jane yes, but my problem is to define an if-statement for this purpose :-) Any help or advise is appreciated. Philip
|
P
|
Philip author 1/5/2009 |
Jim, |
![]() |
Sergey Kornilov admin 1/5/2009 |
You can try something like this in BeforeAdd event. This is just a sample and you might need to adjust it according to your needs. set regEx = New RegExp |
P
|
Philip author 1/6/2009 |
You can try something like this in BeforeAdd event. This is just a sample and you might need to adjust it according to your needs. set regEx = New RegExp
|
J
|
Jane 1/6/2009 |
Philip, set regEx = New RegExp regEx.IgnoreCase = False set regEx2 = New RegExp regEx2.IgnoreCase = False regEx.Pattern = "[A123]+$" regEx2.Pattern = "[A123]+$" if regEx.Test(dict("FieldName")) and regEx2.Test(dict("FieldName2")) then ... |
P
|
Philip author 1/7/2009 |
Jane, |
P
|
Philip author 1/9/2009 |
You can try something like this in BeforeAdd event. This is just a sample and you might need to adjust it according to your needs. set regEx = New RegExp
|