Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clistobjedit - Add record, add 2nd record, cancel...kabo
Message
From
25/05/2004 13:46:40
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
 
To
25/05/2004 13:25:17
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00904742
Message ID:
00907043
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform