Long Strings

Does anyone know how to call a hyperlink() with a “text” longer than 250 characters? Or is there another way???

Can you use more strings in the function call? Like:

Hyperlink(String1 + String2 + String3);

Yes that’s it. I just assumed it would have the same 250byte restriction. DOH![:O]

It might be a little bit more tricky, but you could create a text file (batch job) in your temp directory and execute that using the “SHELL” command.

Example:

f.CREATE(ENVIRON(‘TEMP’)+’’+‘Bla.cmd’);
f.CREATEOUTSTREAM(outstrm);
outstrm.WRITE(‘iexplore ‘);
outstrm.WRITE(string1);
outstrm.WRITE(string2);
outstrm.WRITE(string3);
f.CLOSE();
SHELL(ENVIRON(‘TEMP’)+’’+‘Bla.cmd’);

Or you could use the internet explorer to redirect to the proper page by generating a HTML page which just loads the right page. Like:

f.CREATE(ENVIRON(‘TEMP’)+’’+‘Bla.htm’);
f.CREATEOUTSTREAM(outstrm);
outstrm.WRITE(‘’);
f.CLOSE();
HYPERLINK(ENVIRON(‘TEMP’)+’’+‘Bla.htm’);

This seems to be working even better as you don’t have to know where the iexplore.exe is located.