on 04-08-2010 10:07 PM
Hello,
I'm creating a udo by DI, after i need to insert some rows to him but when i try, it seems like the UDO didn't commit yet, so if i restart my addon i can insert the rows using the UDO that i created how can i insert the rows after created the udo?
Hello,
You see right, you have to disconnect the DI API to insert records into the Newly created UDO table. But you can disconnect from code.
Steps
1. Add Your Database Fields (UDO-s, etc).
2. Disconnect your addon's DI Company Object with
oCompany.Disconnect()
3. Reconnect you DI Company by Single SIgn On ( or connect procedure you are using in when you addon is connecting at startuo). At this point your DI API connection will know about the new tables.
4. Insert records into the specific UDO.
Regards,
J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.