Re: Parsing OpenArgs statements
- From: RoyVidar <roy_vidarNOSPAM@xxxxxxxx>
- Date: Fri, 30 Mar 2007 21:10:44 +0200
"ManningFan" <manningfan@xxxxxxxxx> wrote in message
<1175281570.681345.193960@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:
I'm trying to figure out how to do this, my form may have anywhere
from 1 to 5 arguments passed. My OpenArgs statement looks something
like this:
Arg1 | Arg2 | Arg3 | Arg4 | Arg5
I need to know if there's an easy way to pull everything prior to the
first "pipe" ( | ), and then everything from the first pipe to the
second pipe, then everything from the second pipe to the third pipe,
etc...
Anyone got any suggestions?
Try the Split function - air code;
dim myarr() as string
dim l as long
myarr = split(me.openargs, "|")
debug.print myarr(0)
' loop the resulting array
--
Roy-Vidar
.
- References:
- Parsing OpenArgs statements
- From: ManningFan
- Parsing OpenArgs statements
- Prev by Date: Parsing OpenArgs statements
- Next by Date: Re: Parsing OpenArgs statements
- Previous by thread: Parsing OpenArgs statements
- Next by thread: Re: Parsing OpenArgs statements
- Index(es):
Relevant Pages
|