Get the Table + Column name attached to a Control

29 views
Skip to first unread message

Joseph Feldman

unread,
Apr 23, 2025, 10:21:16 AMApr 23
to Migrated By Firefly

I'm working on order/shipment system where different customers have different required fields before shipping. These requirements are stored in SQL Table per customer. I want the UI to automatically highlight required fields per customer.

However, I want to avoid manually setting .Tag on each control. How can I get the table + column name attached to a control so I can cross-reference with my requirements?

Noam Honig

unread,
Apr 23, 2025, 10:43:04 AMApr 23
to Joseph Feldman, Migrated By Firefly
I think there's a method in env common that can give you the column from a control. Try it out

ENV.Common.GetColumn(control) 

Noam Honig  
Founder & CEO


On Wed, Apr 23, 2025 at 5:21 PM Joseph Feldman <josep...@gmail.com> wrote:

I'm working on order/shipment system where different customers have different required fields before shipping. These requirements are stored in SQL Table per customer. I want the UI to automatically highlight required fields per customer.

However, I want to avoid manually setting .Tag on each control. How can I get the table + column name attached to a control so I can cross-reference with my requirements?

--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/d52670dd-07c8-4765-874d-7ee4885f677fn%40googlegroups.com.

Joseph Feldman

unread,
Apr 23, 2025, 11:48:42 AMApr 23
to Migrated By Firefly
Thank you, it worked
Reply all
Reply to author
Forward
0 new messages