on 04-28-2015 9:12 AM
Hello,
I added a UDF to OITM, named say "XXX_RootOfPrj". It appears on the standard UDFs panel:
Users should type a project code (OPRJ.PrjCode) here.
For helping them I need to add a ChooseFromList on this UDF, linked to OPRJ.
So I added this line in the UDF definition:
oUserFieldsMD.LinkedTable = "OPRJ";
But when I Add() the UDF I get:
Errore -5002: Il campo 'Tabella collegata' dovrebbe essere formato da 8 car. alfanumerici senza val. standard validi
Which means more or less:
Error -5002: 'Linked table' field should be formed by 8 alphanumeric characters without standard valid values
Maybe is it impossible what I want to do? It's odd that I can link a UDT but not a system table...
Maybe should I use a workaround, like manually attaching a CFL on the form using UI API?
Hi Simone,
Linked Table does not support system table.
Your option is to create a formatted search.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Edy,
now I got it!
select PrjCode, PrjName
from OPRJ
Now the user can pick a valid project code from a CFL.
Kind regards
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.