Hi,
Attached is the code for the GPS recording function and export to google earth KML format (for the sake of completeness I've added all the code, but I will need to keep better track next time to where I'm making changes).
You will need the SQL and KML libraries (KML is available in the forum).
On the record form the frequency is how often you save to the database. The lower the setting obviously the more accurate, but you will use more storage (I think google earth has limitations to how many points you can have with the free addition - I'm still looking into this some more). The description is a free text field to describe the recording.
When you press the start button, it disables the rest of the controls on the form. Only when you stop recording will it re-enable the controls on the form.
The start and finish date are used for deleting or exporting.
At this point in time export is ONLY done by Description or Start and Finish Date and not a combination of the two. More fancy searching can come later.
Feedback and suggestions on this addition and the user interface in particular would be appreciated.
Enjoy.
Cheers.
M