logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Help for QSL Report printing
IK0CHU
#1 Posted : Thursday, July 26, 2018 2:08:05 PM(UTC)
RedBaron

Rank: Advanced Member

Groups: Registered
Posts: 274
Man
Location: Viterbo, VT - ITALY

Thanks: 44 times
Was thanked: 49 time(s) in 44 post(s)
Hi Dennis,
I need to print on the QSL the number of the ARI club where the CALL is registered.
I created a variable field called SEZ. If it is filled with a number, the CALL is an ARI member, otherwise if it is empty, it is not an ARI member.
Example to be printed:
ARI Section: 0101 (first case)
Nothing to print (second case)
The exact filter conditions are:

DXCC = I or DXCC = IS0
and
SEZ = NOT EMPTY
and
QSL_SENT = R
than print
"ARI Section:" + SEZ (value)
if
SEZ = Empy
than
NO PRINT
I tried but I always managed to print:
ARI Section: 0101
or
ARI Section:

The problem that I can not avoid printing the text "ARI Section:" when the SEZ field is empty.
I cannot be able to program the script but this is the mine to try:
The result is Always .T.ARI Section:0101 or .F.ARI Section:0101


(((CALL='IK0PEQ' OR CALL='IK0JFR') AND (DXCC='I' OR DXCC='IS0') AND QSL_SENT='R' AND NOT EMPTY(TAG_VAL("SEZ:", USERFIELDS, "C"))))

Can you help me writing the right commands to put in my qsl report?
Thank you

73's de IKØCHU Mauro
***
IKØCHU Mauro
Sponsor
Note: We receive a commission from Amazon when you purchase via this link. It does not affect your cost. Thank you!
WN4AZY
#2 Posted : Thursday, July 26, 2018 9:04:16 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 2,282
Man
Location: Auburn, GA

Thanks: 456 times
Was thanked: 308 time(s) in 244 post(s)
Dear Mauro:

Please clarify: Do you want your QSL report to print ONLY QSO's with SEZ? Or do you want to print all QSOs where QSL_SENT="R", but print the label ARI SECTION only when there is something in SEZ?

If the latter, right-click the label in your report, and select PROPERTIES, then PRINT WHEN. In ONLY WHEN THE EXPRESSION IS TRUE, put

"SEZ:"$USERFIELDS

this would work too -- just longer:
NOT EMPTY(TAG_VAL("SEZ:", USERFIELDS, "C"))


(((CALL='IK0PEQ' OR CALL='IK0JFR') AND (DXCC='I' OR DXCC='IS0') AND QSL_SENT='R' AND NOT EMPTY(TAG_VAL("SEZ:", USERFIELDS, "C"))))

If this is a selecct criteria, it looks like it would prevent QSOs without SEZ from printing a card. But it would have no effect on WHAT prints on the report.

If you want, post your report here and I'll take a look. The report file has a .REP and .FPT part. Zip them up and upload.

Tnx & 73,

Dennis WN4AZY
1 user thanked WN4AZY for this useful post.
IK0CHU on 7/27/2018(UTC)
IK0CHU
#3 Posted : Friday, July 27, 2018 3:03:34 AM(UTC)
RedBaron

Rank: Advanced Member

Groups: Registered
Posts: 274
Man
Location: Viterbo, VT - ITALY

Thanks: 44 times
Was thanked: 49 time(s) in 44 post(s)

Hi Dennis,
as always your help was very significant.
I added your indication to my report and everything went well.
I am attaching my screenshots and as you can see everything is perfectly successful.
Thank you
73's de IKØCHU Mauro
***
File Attachment(s):
ScreenShot696.jpg (68kb) downloaded 8 time(s).
ScreenShot695.jpg (97kb) downloaded 5 time(s).
ScreenShot694.jpg (68kb) downloaded 4 time(s).
ScreenShot693.jpg (165kb) downloaded 3 time(s).
ScreenShot692.jpg (173kb) downloaded 7 time(s).
IKØCHU Mauro
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.059 seconds.