I wrote a simple script in VB. But it failed to run in field calculator. I can't figure out what is wrong with it. Below is a screenshot.
Remove the Dim a as String line and it will work. Calculate Field is using VBScript, and in VBScript all variables are of type Variant.
Dim a as String
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2 years ago
5 months ago