Changing data in the "pig" address field?
John Esak
john at valar.com
Thu Jun 2 12:19:00 PDT 2005
I'm responding to a note sent to me personally about the Pig in a Poke
code... Enough is out of the bag, (and there is a full demo on my site now)
so that there is no need to keep corresponding with me personally about it.
We talk about it in the FP Room, and I don't mind discussing it here as
well. Short of posting it all on this forum, since it is still for sale and
will be for a few more days, there is no reason for me to keep writing
individual responses to those of you who bought it. Many of you are asking
the same questions, and/or have the same observations and enhancements...,
and since it is all about filePro, we might as well do it here. That was my
original intent anyway. Or, as always, feel free to drop by the FP Room.
John Esak
Visit The FP Room www.tinyurl.com/yuag7 24/7
Take a demo ride on "the pig" at www.valar.com/single you'll be happy you
did. There is a movie describing the whole thing.
---
This last private note and my response follow...
-----Original Message-----
From: Michael Schwartz [mailto:MSchwartz at wspackaging.com]
Sent: Thursday, June 02, 2005 2:21 PM
To: john at valar.com
Subject: Changing data in the "pig" address field?
I finally got some time to play with your browse code, and I was
wondering if there is a key I can use to get down in the address or phone
fields in order to edit the data?
I have a similar "scrolling window" function that I have been using for
some time, and I use the "home" key to get down to the next window and then
back to the original window. I can put multiple scrolling windows of any
size on a screen and can tab between them in order to update data. The
screens are linked, so that as a user at a door manufacturing plant, for
example, scrolls through the doors and hardware line items in one "live
window", as I call them, the "options" screens, like pine oak and birch, and
brass, stainless and chrome 'auto-magically" show the correct matching
options for the door or trim options selected.
Your code is different from what I do, because I don't use filePro's
browse window, but rather I start with a blank screen and use a control file
to position the window, fields, graphics and other elements. I can have
multiple windows on a screen and "link" them so they stay in sync like in
your example. Then I call a fairly standard piece of code that can be
modified for each window in order to make all the magic happen.
This was all written years ago, before browse lookup could do all the
tricks it can now.
I'll play with your code a little more after lunch.
Thanks,
Mike Schwartz
----
Mike,
The code you talk about below sounds like the code you said someone else
wrote years ago that you are maintaining for some client. It is nothing like
the Pig in a Poke code at all. The differences between static windows and
controlling them by positioning data where you want it and using filePro's
browse are different enough as to have no comparison that makes sense. By
key to press to update a window... all I can imagine you mean is POPUP
UPDATE instead of POPUP. I was only showing a couple of simple variations of
@bk type things which are done in normal browse processing. There is no
reason why you can't execute _any_ filePro code you can think of while using
the "pig" code. There are no particular keys to do anything... you choose
whatever key you want and whatever you want it to do. There is no "address"
screen or such... just whatever you need and design in its place. Consider
it a placeholder. I just POPUP for the demo... you can just as easily POPUP
UPDATE.
John Esak
Visit The FP Room www.tinyurl.com/yuag7 24/7
Take a demo ride on "the pig" at www.valar.com/single you'll be happy you
did. There is a movie describing the whole thing.
More information about the Filepro-list
mailing list