murrayf3 Posted July 9, 2003 Posted July 9, 2003 I have a global field gEvergentAccountInfoText containing a text block with multiple lines like the following: account.number: 9999 account.name: Smith Bakers address.streetNum: 15 address.streetName: Adams address.streetSuffix: RD address.city: Fairfield address.state: IA address.zipCode: 50219 phoneNumber.npa: phoneNumber.callingNumber: I am trying to parse the individual elements using the position function. I am getting confusing results. For example: Position ( "account.name", gEvergentAccountInfoText , 1, 1) returns 0 Position ( "address.streetNum", gEvergentAccountInfoText , 1, 1) also returns 0 What am I doing wrong?
SteveB Posted July 9, 2003 Posted July 9, 2003 If you're actually doing what you typed, you have the first 2 arguments reversed. The global field is first, followed by the string you're searching for. Steve
murrayf3 Posted July 9, 2003 Author Posted July 9, 2003 Works like a charm when you get the syntax correct! Thanks Steve!
Recommended Posts
This topic is 7911 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now