FW: need help with dclerk
Bruce Easton
bruce at stn.com
Thu Sep 9 13:43:43 PDT 2010
On 9/9/10 3:15 PM, Fairlight wrote:
> With neither thought nor caution, John Esak blurted:
>> Exactly as Bruce says here. Clerk is absolutely the superior choice for any
>> report that even requires only one interactive request. If there is really
>> nothing to ask of the user, then and pretty much *only* then *report alone
>> is the thing to use.
> To address Brian's original question, I use report with -sr N to sit on
> specific "slots" (records) in a control file to avoid locking contention,
> and do ALL my processing via lookups to other files. That's my
> architecture. But the client had printing, and he designs these forms for
> back-of-house receipts and notifications, and they print like 11 records
> per page, and I dunno...I don't do printing since 1995, so I don't design
> the printing code. I just adapt his to a CGI context. Since he uses FORM
> to kick his printing off from the "F" key in clerk, it was written that
> way, and I just adapt to making it work non-interactively with the same
> code.
>
> [..]
> mark->
I think I understand why you are using report the way you do and how it
works well with OneGate, but one thing that I find people are rarely
clear about is what they are doing or plan to do with the current record
when considering different ways of doing things. I think I know how you
are relating your "slots" to OG, but I'm not 100% sure what you are
doing with the control file records you speak of (storing data or
reading or neither). And even though it seems obvious for the case
where your client is doing form printing, I can't determine, based on
what you said, that they are ever referencing a real field for the
current record when they are doing that. (It would certainly seem so,
though.) I would never make a decision about my approach to any filepro
solution without knowing whether or not I wanted/needed to write to/read
from/(or neither) the current filepro record where I might consider
standing - in fact - I think it's the first thing I consider; therefore
I recommend always including this piece of info when asking about
different methods.
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list