In order to become familiar with using Panorama X, I am working through the tutorials. I have run into an occasional mismatch with what the tutorial suggests and what I find in Panorama X, but so far I have been able to find enough information to work around these little glitches. I assume that future updates will correct these uneven areas. I have been unable to find any reference to this problem in the forum, so I will describe what is happening in case someone here has already dealt with it.

In this page of the tutorial “Mailing List Tutorial 120: Extra Credit…”, the code provided does not do what it is meant to do. After copying the code into the Code tab of Field Properties of the Phone field, when a phone number is changed or added an error with “Field or Variable [Phone] does not exist.” pops up. After that error message is closed, whatever number was typed is entered into the field exactly as it was typed. I can see that the code works in the animation in the tutorial, but it does not work in the data base that I created by following all of the previous tutorial steps.

The code in question is:

local digits

digits = striptonum(Phone)

if length(digits) = 0 or length(digits)>10

return

elseif length(digits) = 7

digits = “714”+digits

endif

if length(digits) = 10

Phone = formatphone(digits)

return

endif

if length(digits)<7

nsnotify “Bad Phone Number?”,“text”,“Only “+pattern(length(digits),”# digit~”)

endif

I would just like to find out if this has something to do with my version of this database or if there actually a problem with the application of the code.

Ken