Re: Record Set List separated by Commas

Tech-Archive recommends: Fix windows errors by optimizing your registry



Interesting. I am not a programmer but always trying to learn things to
better my knowledge in this area. I did look up this function and tried to
get it to work for what I want, but I can't seem to separate the values by
commas...I'll keep trying.

Thanks

Doug

"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message
news:uvaUmZlsFHA.2008@xxxxxxxxxxxxxxxxxxxxxxx
> Doug wrote:
> > Hello again,
> >
> > I know some of my questions are pretty basic, but I am just learning
> > and I am not a programmer by trade. Here goes. I am listing items
> > from a recordset and want to separated them on the page by commas,
> > but I don't want a comma after the last field. Here is what I am
> > using, but it puts a comma after the last entry too. How do I get
> > around this? ______________________________
> >
> > Do Until RS.eof
> > Response.Write(RS3("OrgName"))
> > Response.Write","
> > RS.movenext
> > loop
> > ______________________________
> >
> > Thanks,
> >
> > Doug
>
> You've neglected the GetString function.
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>


.



Relevant Pages

  • Re: Record Set List separated by Commas
    ... I am not a programmer but always trying to learn things to ... > get it to work for what I want, but I can't seem to separate the values by ... >> Doug wrote: ... but it puts a comma after the last entry too. ...
    (microsoft.public.inetserver.asp.db)
  • Re: Record Set List separated by Commas
    ... Doug wrote: ... > I know some of my questions are pretty basic, but I am just learning ... but it puts a comma after the last entry too. ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.db)
  • Re: Low Level Text File Printing
    ... A comma at the end inserts about 5 spaces, a semi colon ... I seem to recall that if you put a comma at the ... Doug Steele, Microsoft Access MVP ... Print #filenumber, strLine ...
    (microsoft.public.access.formscoding)
  • Re: Problem with linker
    ... It seems to me that Doug is in favor of default arguments... ... Even if I'm not a "language lawyer" and I have an attitude similar to ... you David towards programming languages (a "practical programmer"), ... safety", which is a good thing for robust code, and I was kind of ...
    (microsoft.public.vc.mfc)
  • Re: File Editting
    ... programmer and am just starting to use the scripting languages. ... someone point me in the direction for writing a vbscript routine for ... searching each line and replacing each comma with a blank space. ...
    (microsoft.public.scripting.vbscript)