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

Notification

Icon
Error

Contest_id is being truncated in reports
vk4iu
#1 Posted : Sunday, February 5, 2012 7:38:05 AM(UTC)
VK4IU

Rank: Advanced Member

Groups: Moderator, Registered, Administrators
Posts: 404
Man
Location: Hodgleigh QLD

Thanks: 6 times
Was thanked: 77 time(s) in 68 post(s)
G'Day Dennis,

I recently changed the codes I use to identify my contest QSOs. I now use the ADIF 2.7 contest codes which are generally longer than those I used before.

The contest_id field is 20 characters long in the LOG.

But, when printed in "multi-QSO" QSL card reports, the contest_id is being truncated to only 10 characters.

I first discovered this in my own QSL card reports, and have now verified that it also happens in the "standard" multi-QSO QSL card reports.

The truncation would seem to be part of the processing to assemble the multiple QSOs for the cards.

Can you shed any light on where the problem might be. Your assistance is greatly appreciated.

Peter VK4IU
Peter VK4IU
You can help by posting images of any errors and including your Logic version.
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 : Tuesday, February 21, 2012 10:37:49 AM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,063
Man
Location: Auburn, GA

Thanks: 975 times
Was thanked: 487 time(s) in 402 post(s)
Hi--

Sorry I didn't notice this post.

First, make the Operator field in the log 20 characters using tools/misc utilities/change size of log fields. I'm guessing you've already done this.

Then, modify the report and drag the contest_id field wider using the mouse. I hope there is room to fit on the paper.

Tnx & 73,

Dennis WN4AZY
vk4iu
#3 Posted : Wednesday, February 22, 2012 2:29:14 AM(UTC)
VK4IU

Rank: Advanced Member

Groups: Moderator, Registered, Administrators
Posts: 404
Man
Location: Hodgleigh QLD

Thanks: 6 times
Was thanked: 77 time(s) in 68 post(s)
G'Day,

... did that. Increased "operator" field in log structure to 20 chars. Why did I need to do that?

The problem, truncation of contest_id to 10 chars, still occurs in the QSL card reports. See attached "screen" snaps.

contest_id prints OK in general log reports. See attached images.

Peter VK4IU

File Attachment(s):
Snagit.rar (11kb) downloaded 48 time(s).
Peter VK4IU
You can help by posting images of any errors and including your Logic version.
WN4AZY
#4 Posted : Wednesday, February 22, 2012 9:00:11 AM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,063
Man
Location: Auburn, GA

Thanks: 975 times
Was thanked: 487 time(s) in 402 post(s)
Originally Posted by: vk4iu Go to Quoted Post
G'Day,

... did that. Increased "operator" field in log structure to 20 chars. Why did I need to do that?

Say it was ten characters before. That is all that the database would accept. If you want to store more, you have to make it bigger. The same reason you can't put a gun in a pencil case.

Quote:
The problem, truncation of contest_id to 10 chars, still occurs in the QSL card reports. See attached "screen" snaps.

Did you modify the report and make the display area of Contest ID bigger? (Besides fixing the database, you have the make the report field wider. The two are independent.)

Tnx & 73,

DH



vk4iu
#5 Posted : Wednesday, February 22, 2012 4:20:28 PM(UTC)
VK4IU

Rank: Advanced Member

Groups: Moderator, Registered, Administrators
Posts: 404
Man
Location: Hodgleigh QLD

Thanks: 6 times
Was thanked: 77 time(s) in 68 post(s)
... yes, I also changed the report. I tested two types - a log report, and multi QSO QSL cards.

Only the multi QSO QSL card report truncates the contest_id.

Why do I need too change the size of the "operator" field, when the "contest_id" is being truncated. Both are now 20 chars in the Log database structure.

I suspect the probem lies in the extraction of data from the Log by the function in the report "Before Run" panel. That is ...

lblmult(global.report_ref.selectexp, 5) && function supports 2, 3, or 4 QSOs per label
*delete for empty(call2)
* DH 10/11/96
if empty(global.report_ref.selectexp)
global.report_ref.selectexp=".t."
endif
global.report_ref.selectexp = "(" + global.report_ref.selectexp + ")"

... somewhere in there "contest_id", and "contest_idN where N is 1 to 5, are being truncated to 10 characters.

Attached is an image of the latest version of my report. My report is based on the "standard report". The issue also occurs with the "standard report". JARTS-WW-R should be JARTS-WW-RTTY, and DARC-WAEDC should be DARC-WAEDC-RTTY

Peter VK4IU
File Attachment(s):
QSL Card.png (9kb) downloaded 42 time(s).
Peter VK4IU
You can help by posting images of any errors and including your Logic version.
WN4AZY
#6 Posted : Thursday, February 23, 2012 7:49:07 AM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,063
Man
Location: Auburn, GA

Thanks: 975 times
Was thanked: 487 time(s) in 402 post(s)
Sorry, I said "Operator" but meant "CONTEST_ID".

You are correct -- the lblmult routine is truncating it. I have fixed the code and the changes will be in the next update -- probably posted next week.

Tnx & 73,

Dennis WN4AZY
vk4iu
#7 Posted : Sunday, February 26, 2012 3:34:35 AM(UTC)
VK4IU

Rank: Advanced Member

Groups: Moderator, Registered, Administrators
Posts: 404
Man
Location: Hodgleigh QLD

Thanks: 6 times
Was thanked: 77 time(s) in 68 post(s)
Fantastic.

I appreciate your efforts.

Peter VK4IU
Peter VK4IU
You can help by posting images of any errors and including your Logic version.
WN4AZY
#8 Posted : Wednesday, February 29, 2012 8:26:58 PM(UTC)
admin

Rank: Administration

Groups: Administrators, Beta Testers
Posts: 3,063
Man
Location: Auburn, GA

Thanks: 975 times
Was thanked: 487 time(s) in 402 post(s)
This is now fixed in the latest update .038

Tnx & 73,

DH
vk4iu
#9 Posted : Wednesday, February 29, 2012 10:31:50 PM(UTC)
VK4IU

Rank: Advanced Member

Groups: Moderator, Registered, Administrators
Posts: 404
Man
Location: Hodgleigh QLD

Thanks: 6 times
Was thanked: 77 time(s) in 68 post(s)
.. thank you.

Installed and tested OK.

Peter VK4IU
Peter VK4IU
You can help by posting images of any errors and including your Logic version.
Users browsing this topic
Guest (2)
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.036 seconds.