I want to get Projid from this lookup field and use for comparison
I want to get Projid from this lookup field and use for comparison
Look at whether the form control is bound to a data source field. If so, use the data source and field name to access the value: table1.ProjectId
If it's an unbound control, make sure that it has AutoDeclaration=Yes and then refer to it by name: ProjId.text().
It could also be bound to an edit method - you would call the method from your code in such a case.
If you need more help, please tell us which form you're talking about and at what point you want to do the comparison.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156