Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JamieVJohnson2
in reply to: Anonymous

Two things (one not a real issue).

Non issue first:

You create a UserParams variable and set it, but don't use it.  Instead you blow past it.

Actual issue:

I think your call for .UserParameters(Length) needs quotation marks .UserParameters("Length")

This is assuming you have a user parameter with the name being "Length", your code must specify that is a string.  Otherwise the compiler is looking for a variable called Length from your code, and trying to get its value (which doesn't exist here).

Finally, your specifying to write Length not oLength.  This write method I'm not familiar with, because I learned StreamReader/Writer, and WriteLine methods from .Net.

jvj