multiple browse windows and @bk
John Esak
john at valar.com
Tue Sep 22 20:42:10 PDT 2009
<WARNING>
I was thinking of trying to write a step-by-step answer here... and decided
against it... instead... all I have time to offer is this note which turned
into an advert and not a code filled response. I don't think anyone will
respond with code... There aren't too many ways to do what he wants without
the "pig" technique. Perhaps, any of you who have gotten the CD's and used
the pig technique might chime in and let him know that I'm not just trying
to sell CD's... I just don't know *any* other place or product where he
can see the answer to his question.
I am not actively advertising them anymore or *needing* to sell them
anymore. However, this does not take away from their intrinsic value and
they still are for sale. I simply can NOT give them away as I have done with
nearly every other product I've ever made.
The last person who asked a dead simple question here about a filePro
technique said to my suggestion that he get the CD's...
Well, he said, thanks but he really didn't think he needed the videos.
That's fine. I'm not hawking them. I am not trying to make money on
anybody. The CD's sold well over a hundred copies... as more sales keep
dribbling in from the web, I'm happy with each one, but I keep thinking that
will be the last one. So anyway. End of advert...
</WARNING>
For scooter6,
Now, different than the dead simple question I mention above... yours is
not. You are asking for a complex, tough thing to do... multiple browses.
Without even looking at your code... simply by listening to your description
of what you want to accomplish, I can tell you that you need the Survivor
Series of CD's. You can find them at the second link below. First though,
Look at a representation a of the solution for what you want to do in this
old nugget....
http://www.valar.com/pig_in_poke.wmv
The full set of filePro Survivor CD's took well over a year to produce and
you might see *why* if you were to get them... they are worth it....
They would show you exactly how to do the "pig" browse. Simply put, you can
put multiple browses on the screen simultaneously. Well, the trick of it is,
that you will have full control over multiple browses that appear on the
screen at the same time.... and it's not something I can explain in a few
words here. I can display the technique step-by-step in several videos in
which you watch me write the processing from the first line to the last. and
more important than seeing the idea, you see all the "extra" things you have
to attend to in order to make the pig technique fully *unbreakable*.
Otherwise, it has gotchas that will getcha. The CD's cover it all, though,
and it will become something you turn to again and again once you've written
it one time.
My guess is you won't accomplish what you want to do with anything other
than a pig browse, but good luck....
By the way I'm not averse to giving you the knowledge and tips that have
helped 100+ other developers to do amazing things they could not do before
viewing these CD's.... but I will only give it to you for the price of the
CD's. To do anything else cheapens them as a valuable reference and would
be expressly unfair to those 100+ people who trusted me enough to pay for
the CD's sight unseen in the first place. There are some very small
examples of them on the web site, but the "pig" browse technique and the
entire course very beginning to the very far reaches of advanced filePro are
not something that can be put into a little text anyway. You have to watch
the movies and listen to the explanations. Very soon you will fix your code
to have it working just the way you want. And I absolutely guarantee there
will be hundreds of other things you'll learn from the CD's to improve your
filePro apps. (All indexed so you can get to any of them by just typing in
some keyword description of what it is you want to learn about.)
I'm sorry this could only turn out to be an advert.... but I do doubt anyone
is going to take the time to completely rebuild your code to do what only a
pig browse can do in the first place. To do an application using that
technique requires a bit of time, a lot of tweaking, and a good
understanding of exactly how they work in the first place. If The Guru was
still around or the fpDJ, I might have tried to write the technique up in an
article that would leave most scratching their head.... it takes seeing how
the code is written and how it all works step-by-step with the running
program and the actual code side by side to do it any justice. Take my word
for it... get the CD's. You'll not regret it.
John
_____
From: filepro-list-bounces+john=valar.com at lists.celestial.com
[mailto:filepro-list-bounces+john=valar.com at lists.celestial.com] On Behalf
Of scooter6 at gmail.com
Sent: Tuesday, September 22, 2009 9:05 PM
To: filePro Mailing List
Subject: Fwd: multiple browse windows and @bk
anyone have any insight on this?????
---------- Forwarded message ----------
From: scooter6 at gmail.com <scooter6 at gmail.com>
Date: Tue, Sep 22, 2009 at 10:35 AM
Subject: multiple browse windows and @bk
To: filePro Mailing List <filepro-list at lists.celestial.com>
Okay, this is a continuation of my previous thread where we're limiting
access to VIEW accts based on login, etc.
So, for now as you recall I decided to go in a little different direction. I
am copying over the data from the "master" file over to a replica file that
will only contain the records I need. That part is all a-okay.
Now, in this "replica" file, I'm bulding multiple browse lookups and have
created a special menu, etc.
Everything works fine so far except one thing.
When you initially get to my data, there is a menu that is created from my
input processing.
It shows a browse window then will all the accts, etc.
Across the bottom, via a show statemen, there is "V" to view, "N" for notes,
"P" for Payments and "X" to Exit
That's fine. So far, I've only put the processing in place to "V" view and
N for notes.
The problem is this - at this first browse lookup window, I hit "V" to view
and I get the "view" screen from the replica file.
When I hit "N" for notes, it clears the screen, and opens a browse window
with all the note records from a completely different file.
On the bottom of this browse, there is "V" to View and "X" to exit.
When I hit "V" to view the VERY FIRST TIME here, it shows me a blank "view"
screen from the replica file, NOT the notes file. After hitting enter to
clear this screen, every subsequent time I hit "V" it shows the correct
"view" screen from the notes file. Still with me?haha
Below is my input processing table. I'm soooo close to getting this to
work, but obviously hit a stumbling block here.
Can anyone see what I'm missing here? Is this a bug in the @bk syntax or
what??
Help! (please)
Thanks
Scott
@menu :
:: dim myiua(3)
:
:: myiua["1"]="Choose Search Option"
:
:: myiua["2"]="A:Search by PDM Acct Num"
:
:: myiua["3"]="B:Search by Last Name"
rptmnu :
:: cls("22")
:
:: menu myiua dosrch1, dosrch2
:
:: exit
dosrch1 :
:: lookup act = PDMace k=3 i=A -nx b="(brw=12 xkey=nx
show=pkeep pop=1v prc=actn fill=asc,top) [ PDM Num Name
:
:: Plcmt Bal Payments Curr
Balance] *3 *7 *20
*21 *22"
:
:: aa(11,allup)=act(3)
: @bk="N"
:: clearp;goto notes
: @bk="V"
:: popup act,"1v";show "@";cls; clearp
: @bk="X"
:: puskey "xx"
:
:: end
dosrch2 :
:: lookup act = PDMace k=7 i=B -nx b="(brw=12 xkey=nx
show=pkeep pop=1v prc=name fill=asc,top) [ PDM Num Name
:
:: Plcmt Bal Payments Curr
Balance] *3 *7 *20
*21 *22"
actn :
:: show "\r V \r to View \r N \r for Notes \r P \r for Payments
\r X \r to Exit"; end
name :
:: show "\r V \r to View \r N \r for Notes \r P \r for Payments
\r X \r to Exit"; end
notes :
:: show "\r V \r to View or \r X \r to Quit"
:
:: lookup phc = notes k=aa i=A -Nxm b="(brw=12 xkey=vx
show=pkeep pop=view fill=asc,top) [PDM Num Date Time
:
:: Comment1] *1 *2 *3
*8"
: @bk="V"
:: popup phc,"view";show "@";clearp; goto notes
: @bk="X"
:: cls;clearp; goto dosrch1
:
:: end
Keeping in mind, I'm only looking at what happens when "notes" is called. I
realize the code isn't finishe for dosrch2, etc as well as "P" for Payments,
etc.
After lookup to notes, why doesn't "@bk="V" call the corrrect screen from
the notes file when you FIRST hit V? When you first hit "V" at line 22, you
get a blank screen from PDMace, not the notes file?? But, after that, the
correct "V" works and shows the view screen from the notes file??? I'm
confused by this???
Thanks for any help on this
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090922/7f2c579a/attachment-0001.html
More information about the Filepro-list
mailing list