Huh, mate. You just make it look easy.
I see vital medical and industrial applications.

How's summer progressing?
Bruce

------ Original Message ------
From: "Tony Luck" <anthonydl...@gmail.com>
To: rbase-l@googlegroups.com
Sent: 12/14/2021 6:22:44 PM
Subject: [RBASE-L] - Handy GETPROPERTY

I had a request to have a clickable form showing the algal bloom colours (yes we spell color colour) for a pond across the month. When the cell is clicked it calls a form showing the details of the test results for the day in that month. So using an Enhanced DBGrid I've manipulated the data into a table that displays the days, colours based on the major algal type for the ponds. See attached.

Nothing hard you might think but it's easy to capture the current cell value but what if you want to capture not only the current cell value but the value in another column on that row at the same time no matter where the user clicks within the grid or how they order it.

GETPROPERTY TABLE_COLUMN[algal_calendar->pondid] TEXTVALUE vpondt

Even if the user reorders any of the columns or data it still gets the correct key ID value no matter where on the row the user clicks.

Anyway there will be people out there that know this but just in case you didn't that was my solution.
--
Regards
Tony

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/CABnhDATd3oE4JpOJiqP8Se_YSyp0F%3DAyM2h7DuGqzE3hdWUdkw%40mail.gmail.com <https://groups.google.com/d/msgid/rbase-l/CABnhDATd3oE4JpOJiqP8Se_YSyp0F%3DAyM2h7DuGqzE3hdWUdkw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/em70c95631-2e04-4b25-a107-0a76a33f7c4f%40pathfinder.

Reply via email to