I grabbed the scctextx.prg off the codeplex.com site, followed the instructions - all is working now. Thanks!
>Is the version of VSS different than the one you used before or is the version of VFP different? I think that is an SCCTEXT problem (the sortmethods function is in there). If you click on OK, does it still add the file VSS?
>
>
>Just found it:
>
>
> *--Not sure where this copy came from - I think it is the default VFP9 version but not sure - don't remember if I updated
> FOR ln = 1 to MEMLINES(tcMethods)
> IF ln > 1
> laMethods[lnMethods] = laMethods[lnMethods] + CRLF
> ENDIF
> lcLine = MLINE(tcMethods,1,_MLINE)
>
>
>There's an alternate SCCTEXT.PRG in vfpx...
>
>
http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx?ReleaseId=12955>
>
>
>>I'm trying to add a VFP 9 project to VSS 2005. It does appear to add some of the files...but a LOT of them I get this:
>>
>>Error #31 in sortmethods (1331): Invalid subscript reference.
>>
>>...and the file doesn't get added to VSS..grrrr
>>
>>From the main VFP menu, I'm selecting Project / Add Project To Source Control. I've done this a zillion times before, but for some reason this time I'm having this issue... anyone have any ideas?
>>
>>Thanks!
ICQ 10556 (ya), 254117