On 16/11/13 18:42, Darren Cope wrote:if (result->areDataPresent()->secs) flags += 'T'; // time
Thanks Mark,
From your example, I see that "Power" is "P" in the filter. I then guessed that Cadence is "C" and it seems to be provide appropriate results. However, this is a bit 'non-standard' and it would be nice to definitely document this somewhere, but also perhaps provide a list of all fields here in the meantime, if you have such a thing handy. I had tried everything, including "Cadence," "Cadence (rpm)." "Cadence_(rpm)" and any other combination I could think of, but would never have considered "C." On a similar note, perhaps a list of operators (I didn't try "Contains" either, thinking ">0" or "NOT null" would work) would be very useful for those not familiar with this particular syntax.
if (result->areDataPresent()->km) flags += 'D'; // distance
if (result->areDataPresent()->kph) flags += 'S'; // speed
if (result->areDataPresent()->watts) flags += 'P'; // Power
if (result->areDataPresent()->hr) flags += 'H'; // Heartrate
if (result->areDataPresent()->cad) flags += 'C'; // cadence
if (result->areDataPresent()->nm) flags += 'N'; // Torque
if (result->areDataPresent()->alt) flags += 'A'; // Altitude
if (result->areDataPresent()->lat ||
result->areDataPresent()->lon ) flags += 'G'; // GPS
if (result->areDataPresent()->headwind) flags += 'W'; // Windspeed
if (result->areDataPresent()->temp) flags += 'E'; // Temperature
if (result->areDataPresent()->lrbalance) flags += 'B'
Thats from the code :)
Mark
Thanks Mark,
The "Column Chooser" answered a lot of my questions re: field naming - I didn't know that existed. Is it a bug that the little dropdown menu showing the option for "Add to Favorites" and "Column Chooser" is hidden until there is some text in the search/find box? (I'm on Windows XP, running the Nov 4 build.) It would be a lot easier to discover if it was there all the time :) I've been messing with Search/Filter quite a bit lately, and that is new to me!
I'll play with it a bit more and see if I can get comfortable enough to write up some documentation!
--
--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "golden-cheetah-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golden-cheetah-users/vza5Y2L0Jqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-users+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-u...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-users+unsubscrib...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-u...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golden-cheetah-users+unsub...@googlegroups.com.
Hey Darren and MarkI've been Googling and trying unsuccessfully for a little while now.. if I want to look for Mountain Bike Races, I try to apply the following filter: Workout_Code="Race" AND Sport="Mountain Bike", but I'm having no luck.Do you see a way for me to get this right?