Hi Peter:
The DX & Direction is not a simple function call. It would probalby be possible to do in the report writer, but would be messy.
This is your custom report I presume?
Look at our GRAYLINE and BEAM HEADING CHART to see how to do it. It is in the Commands section, FILE OPEN. Here is a copy of the code:
Quote:select *, cast(0 as integer) as dx, cast(0 as integer) as direction from prefix order by dxcc into cursor prefixcursor readwrite
scan
whereitis.setcoords(lat, lon)
replace dx with whereitis.dxmiles, direction with whereitis.bearing
endscan
Be sure to select NONE for the View tab. Otherwise the commands won't run.
FYI, WHEREITIS is an object in a global memory variable. LOGic uses it for all DX and Direction calculations from your QTH.
You report from a file named PREFIXCURSOR. But if the report is done properly (no reference to the main file) it should run correctly without additional changes.
Let me know if any questions.
Tnx for using LOGic.
73,
Dennis WN4AZY