Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Have ENTER key move cursor down?
Message
 
To
11/02/1999 10:45:48
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00186425
Message ID:
00186715
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform