web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Integration Manager VBScipt for MID command.

(0) ShareShare
ReportReport
Posted on by

I am using the following VBScript to extract the customer number from a 20 digit number. 

 

Currentfield = Mid(Sourcefields("F7",9,6))

 

I have set the field type to STRING and I am getting an error message every time I run the integration.

 

Is there better way to extract the text I am trying to get from a field?


Thanks.

 

Kaye.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hello

    Can you try the following change?

    Currentfield = Mid(SourceFields("F7"),9,6)

    Let us know please

    Francisco Hillyer

  • Community Member Profile Picture
    on at

    That will probably work.  I will try it next week and update this post.  Thanks.

  • Suggested answer
    soma Profile Picture
    24,410 on at

    If you getting this error again, copy the values from start to end and using paste special option to paste the values in the same range which you have copied.

  • Verified answer
    Community Member Profile Picture
    on at

    Only got with my client today.  This did work.  Thank you so much.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans