Welcome! Log In Create A New Profile

Advanced

WD14 position() usage changed

Posted by Malc 
Malc
WD14 position() usage changed
May 12, 2009 01:07PM
Check out the user groupware procedure GPWUserProc.DeleteChild

In WD12

sElement = Left(sParent, Position(sParent, ".", FromEnd)) + sControlName



In WD14

sElement = Left(sParent, Position(sParent, ".", 0, FromEnd)) + sControlName



Note the third parameter. If excluded in WD14 you get the error/warning

Option constants cannot be used with parameter 3. Check whether you use the correct syntax with 'Position'

This cannot really be classed as a bug, more of a 'fix', but it did crop up during a project import.

Regards

Malc







Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: