DXKeeper Log ANT_AZ field


Jon Baker
 

This is an  "As Time Permits" query.
While doing a search for empty ANT_AZ fields using (Len(ANT_AZ)=0) 
 the LEN function  produces no output,
because while this field appears  to be empty, it is  populated with a non visible
value of minus 1,   ( -1 ) 
A work around is to use  (ANT_AZ <=0)
However the LEN function would be useful in other instances, to identify these fields for correction

73
Stan N1ZX


Dave AA6YQ
 

+ AA6YQ comments below
While doing a search for empty ANT_AZ fields using (Len(ANT_AZ)=0) 
 the LEN function  produces no output,
because while this field appears  to be empty, it is  populated with a non visible
value of minus 1,   ( -1 ) 
A work around is to use  (ANT_AZ <=0)
However the LEN function would be useful in other instances, to identify these fields for correction

+ The "data type" for the ANT_AZ item is intentionally INTEGER rather than STRING so that sorting QSOs by ANT_AZ will work as expected.

+ ANT_AZ <=0 is not a workaround, it's the correct way to identify QSOs whose ANT_AZ items are unspecified

+ What's an example of a scenario in which the LEN function would be uniquely useful? 

     73,

          Dave, AA6YQ

 

 

 


Jon Baker
 

Thanks for responding Dave,
This comes to mind as  an  example of a scenario in which the LEN function would be applied  
to filter for  GRIDSQUARE values of 4 characters 

FT4 and FT8 using WSJT-X and JTAlert passes a 4 character Gridsquare to DXK

If it is needed to expand the 4 characters to 6 characters,  the LEN function
is probably the easiest way to filter for these values 

73
Stan N1ZX


Dave AA6YQ
 

+ AA6YQ comments below

This comes to mind as an example of a scenario in which the LEN function would be applied to filter for GRIDSQUARE values of 4 characters

FT4 and FT8 using WSJT-X and JTAlert passes a 4 character Gridsquare to DXK

If it is needed to expand the 4 characters to 6 characters, the LEN function is probably the easiest way to filter for these values

+ The GRIDSQUARE item is of data type STRING, so the LEN function can be applied to it.

+ Is here a scenario in which the LEN function must be applied to the ANT_AZ item?

73,

Dave, AA6YQ


Jon Baker
 

Thanks for responding Dave,
I have not encountered a scenario where the LEN function must be applied to the ANT_AZ item

73
Stan N1ZX