Scott,
If not this exact change, it will be a reasonable facsimile thereof, that will also fix the problem.
---J
>Jason,
>
>I've made the changes and that fixed the problem. Thank you! Hopefully this will be a permanent fix when the next release of MM comes out?
>
>Thanks again...
>
>>Scott,
>>I think you're on to something, here. EOF() for locview explains RECNO() returning RECCOUNT() + 1. So, the issue becomes why is the grdList.nRecNo storing 1? Looks like it's not expecting the view to be at EOF()...
>>
>>I'll send this out to Kevin for final approval, but in the meantime I think it would be cleanest to make the following changes to kCustCtl.vcx:
>>
>>Change line 80 of cListObjEdit.cmdAdd.Click():
>>
>>GOTO IIF(This.Parent.CListObj1.grdList.nRecNo <= RECCOUNT(lcAlias), ;
>> This.Parent.CListObj1.grdList.nRecNo, ;
>> RECCOUNT(lcAlias)) IN (lcAlias)
>>
>>
>>Line 34 of cListOneToManyObj.Cancel():
>>
>>GOTO IIF(This.CgridList1.nRecNo <= RECCOUNT(lcAlias), ;
>> This.CgridList1.nRecNo, ;
>> RECCOUNT(lcAlias)) IN (lcAlias)
>>
>>
>>Line 6 of ListObj.Cancel():
>>
>>GOTO IIF(This.grdList.nRecNo <= RECCOUNT(), ;
>> This.grdList.nRecNo, RECCOUNT())
>>
>>
>>Hope that helps for now,
>>---J