Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Nadya,
Not to offend you, but why are you posting this? I think Jim had some good insights and I probably think there's nothing much more you can do on UT regarding the issues you have with tek-tips. If the sysop (yes, that dates me) says, "Too bad" and keeps you out, I'm not sure how we are supposed to help.
Renoir
>Here is the text in the FAQ as it stands right now:
>
>PRIVATE pnPages
>LOCAL lcfile
>lcFile = SYS(3)+".tmp"
>lnHandle = FCREATE(lcFile)
>FCLOSE (lnHandle)
>WAIT WINDOW 'Calculating Page Count...' NOWAIT
>REPORT FORM &cRepName TO FILE (m.lcfile) NOCONSOLE
>ERASE (m.lcfile)
>pnpages = _PAGENO
>WAIT CLEAR
>REPORT FORM &cRepName TO PRINTER PROMPT PREVIEW
>RETURN
>=================
>Couple of observations:
>
>1) What's the purpose of creating and closing the file using low-level functions?
>
>2) Report FORM (cRepName) rather than REPORT FORM &cRepName. There is no need to use macro in this case.
>
>3) He should mention, that this should be used in versions prior to 8. There is also a KB article with different approach, which he should add to this FAQ to made it complete.
>
>4) Important line with pnPages = 0 is omitted
>=========================
>In several other FAQs I see, that he posted ideas from UniversalThread. In my opinion, this fact should be properly aknowledged.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement