Commit Paste / Change Column Focus in Browse Window

From: JJ (jjyg_at_adelphia.net)
Date: 08/18/04


Date: Wed, 18 Aug 2004 18:10:30 -0400

please copy

jjyg
 at
adelphia dot net

---------------------------------------------------------------------------------
Commit Paste / Change Column Focus in Browse Window

Working from Command Prompt with a Browse Window I cut & paste a piece
of data from a web site into a column of the Browse Window.

I immediately want to execute a small program using On Key Label which
will act on the newly pasted data, but I can't until I tab out of the
pasted column because the data is not commited to disk (or whatever)
until I leave that column.

I.E. FoxPro thinks the field is still empty or contains whatever it
contained before I did the paste.

E.G. I have two columns in the Browse Window

>From a website list I cut the name

        "Blow, Joe"

and paste it into the first field/browse column

        LastnameFirstname

ON KEY LABEL F11, I execute a program which will parse the newly
pasted data and replace the 2nd field/Browse Column

        FirstnameLastname

with

        "Joe Blow"

I press F11 to run the program until I commit the pasted data

        "Blow, Joe"

to the first field/browse column

        LastnameFirstname

To do this manually I simply tab out of the field/browse column

        LastnameFirstname

I don't want to have to do this over an over again. I want to include
code in the program that executes on the pressing of F11 that will
either tab a field, skip a record and skip -1, refresh the browse or
do something to commit the pasted data.

What's the best easiest way to do it?

Thanks

John "J.J." Jackson



Relevant Pages

  • RE: Commit Paste / Change Column Focus in Browse Window
    ... > Commit Paste / Change Column Focus in Browse Window ... > pasted data and replace the 2nd field/Browse Column ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Commit Paste / Change Column Focus in Browse Window
    ... >> of data from a web site into a column of the Browse Window. ... >> will act on the newly pasted data, but I can't until I tab out of the ... >> ON KEY LABEL F11, I execute a program which will parse the newly ... >> do something to commit the pasted data. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: MDX Updates
    ... Send a COMMIT TRANSACTION statement. ... window, ... ....And the service named "Analysis Service" crash (go in stopped ...
    (microsoft.public.sqlserver.olap)
  • Re: [2.6.25-rc2] System freezes ca. 1 minute after logging into KDE
    ... About a minute after logging into KDE the system freezes, ... switching, no SysRq), but some tasks stay running. ... One time I could close a window using the ... Confirmed that this is really the culprit by reverting this commit on top ...
    (Linux-Kernel)
  • Re: View Uncommitted Query or Data in Sql 2K ?
    ... >for update and one for delete, and still did not issue commit, and clear the ... >now can I see those queries again. ... No, you can't, unless it is still in the undo buffer of Query Analyzer. ... Each window ...
    (microsoft.public.sqlserver.programming)