Hey!
INLIST() is a function that I've never used.
See, I learned somethig new again.
Joe
>Bill,
>
>Seems like you've gotten a few replies, but here's how I've done it since VFP 3.
>
>In the valid of the last column I put something to this effect:
>
>IF DoDefault()
> Thisform.MoveNext &&--Method built into my forms
>ENDIF
>
>The trick is to have it only happen for keys the user would press, such as TAB, ENTER, the numbers, or letters. You run into trouble unless you check for specific keys
>
>
>MyFormClass.MoveNext
>IF INLIST(LASTKEY(),13,48,59,50...) OR...
> SKIP
> IF EOF()
> FrameWorkMethod.AddRecord()
> ENDIF
>ENDIF
>
>
>Hope one of the approaches works for you.
Joseph C. Kempel
Systems Analyst/Programmer
JNC