on 2010 Mar 30 3:19 PM
Hi all,
I'd like to know how to set up link table when creating user field by code.
is the following code correct ?
Tables = new B1DbTable[] {
new B1DbTable("@CRL_MY_TABLE", "TYPES", BoUTBTableType.bott_NoObject),
new B1DbTable("@CRL_MY_TABLE_2", "ATTRIBUTS", BoUTBTableType.bott_NoObject)
};
B1DbColumn l_b1Column = new B1DbColumn("@CRL_MY_TABLE", "ID", "table 2", BoFieldTypes.db_Alpha,
FldSubTypes.st_None, 10, new B1WizardBase.B1DbValidValue[0], -1);
l_b1Column.LinkTo = "@CRL_MY_TABLE_2";
Columns = new B1DbColumn[] {.....
l_b1Column,...
....}
Should I have to create Keys first ?
Thanks a lot !
Edited by: PIERRE BROTHIER on Mar 30, 2010 4:19 PM
i don't know by b1de, why you don't use the object oUserFieldsMd??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
9 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.