Some Sort of Control From The Browse Screen

Scott Walker ScottWalker at RAMSystemsCorp.com
Fri Oct 15 14:02:32 PDT 2010


Bob,

Thanks for doing some thinking on this.


With your code, what happens when the user is really on the screen (not coming from the browse format by pressing "U") and they enter field# 1.  

In essence, how does your code know the user was just on the browse screen and pressed "U" as opposed to they were actually on the screen and moved into the field (in your example, field# 1)?

I'm not asking to actually do anything from the browse format, just how can I tell I just came from there?  I keep thinking about it and figure there has to be some crazy way to do it.

Maybe I set up a variable Just_Came_From_Browse.  Then when the hit "B" for browse I set Just_Came_From_Browse="Y".  Then I get to the actual browse using pushkey.  Then when I press "U" to update on the browse format, I go to the screen and on the first field I run WEF and look at the value of Just_Came_From_Browse.  It it's "Y" then I do my special stuff, and use Pushkey to record the screen and return to the Browse format.  If it's "N", I do nothing.

Also, in case the user picks a record from the browse format by pressing <enter> instead of "U", then @ENTSEL I will set Just_Came_From_Browse ="N".

Will this work.  What do the real fp brains think?  Of course, it limits me to using on the "U" key to accomplish my task, and there is no way for me to change the prompt, so it ain't slick...but will it work?

Regard,

Scott


-----Original Message-----
From: Bob Simcoe [mailto:bob at midcityoffice.com] 
Sent: Friday, October 15, 2010 4:10 PM
To: Scott Walker; Filepro-list at lists.celestial.com
Subject: RE: Some Sort of Control From The Browse Screen

Scott

After reading your post, I fooled around traping the "U"
Here, I'm putting a Y in field 4 of the browse record selected, or if Y was there then Blank.

       ◄ If:
       Then: end
  2  -------   -   -   -   -   -   -   -   -   -
@wef1  ◄ If:
       Then: msgbox "Press T to Tag Field 4, or X to exit","T or X","TX"
  3  -------   -   -   -   -   -   -   -   -   -
       ◄ If:  4 eq ""
       Then:4 = "Y" ; display ; pushkey "[save]B"
  4  -------   -   -   -   -   -   -   -   -   -
       ◄ If: 4 eq "Y"
       Then:4 = "" ; display ; pushkey "[save]B"
  5  -------   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then:end

Bob Simcoe



-----Original Message-----
From: filepro-list-bounces+bob=midcityoffice.com at lists.celestial.com [mailto:filepro-list-bounces+bob=midcityoffice.com at lists.celestial.com] On Behalf Of Scott Walker
Sent: Thursday, October 14, 2010 4:12 PM
To: 'filePro Mailing List'
Subject: Some Sort of Control From The Browse Screen

Is there no way, no how, to get any programmable control of what happens
when the user is on a browse (the full file type of browse..not the lookup
browse).

 

I want to be highlighting a record and press a key (lets say "T") and have
it check off the highlighted record (as in checking off the items in your
check book that have cleared).  So programmatically when you pressed "T" on
the browse screen, the highlighted record would have the value of it's
"Cleared" field set to "Y" and the browse would be refreshed so the
"Cleared" field would now show "Y".

 

I'm pretty sure this can't be done but if anyone has a wild & crazy way
they've made it happen, I'd love to know.

 

I could even live with, when on the browse screen, press "U" and go into
update on the screen.  Maybe I could take over at that point, change the
Cleared field to "Y" and then record the screen and go back to the browse
screen.   But how would I tell that I had been on the browse and pressed
"U"?

 

 

Regards,

 

Scott

 

 

Scott Walker

RAM Systems Corp

(704) 896-6549

ScottWalker at RAMSystemsCorp.com

 

www.RAMSystemsCorp.com

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101014/cb6bcc59/attachment.html 
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list

.
.
.
.
.
.
*** Message Virus Free. Email scanned by I-FILTER. ***
Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com

.
.
.
.
.
.
.
.
*** Message Virus Free. Email scanned by I-FILTER ***
Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com



More information about the Filepro-list mailing list