INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Tips -N- Tricks

How can I excute more lines of code from command wndow as if it is a PRG? by ramani
Posted: 6 Oct 03

When you see a full form code or a full PRG in these FAQ section or in a thread or whereever, and you want to test it quikly without creating a PRG, you can follow the method described here.

1. Have the code selected and cut into your clipboard.
2. To identify the nnn number of lines starting position in the command window, simply type
******************** and press <CR>
3. Then Press Ctrl+C to copy the clipboard content into your VFP command window.

4. Now the trick is, dont press any <CR> or Enter Key.

Instead select the text you just copied.. for this.. as usual.. Hold down the ShitKey and Press the Uparrow
.. until you reach the demarcation line you made in step2.

5. Now simply press enter.

VFP will run all the codes one by one as if it is a PRG with these code.

This reads long... but quite simple to follow.
*********************************************
ramani
(Subramanian.G)
http://winnersoft.coolfreepages.com/

Back to Microsoft: Visual FoxPro FAQ Index
Back to Microsoft: Visual FoxPro Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close