Custom Table
Posted: Tue Feb 23, 2010 6:20 pm
My Goal: When a new user is added to the database a custom table named with that users login ID needs to be created. Since this is a function which would overwrite any existing table with the same name (theoretically impossible due to unique login names) I am putting this function on a separate form accessible to admin rights group only.
So Far: Form opens with a list of users on the database. When a user is selected, the edit window appears with no information displayed, just a warning about overwriting data, and a button to execute.
My Problem: It appears that this would most easily be accomplished with an after save piece of code, however I do not know where the data is stored internally in nuBuilder (I.E. what variable name I would reference in my CREATE TABLE SQL statement). I assume you are passing an array of data to the edit window. So my question is twofold 1) What is the name of this array, and 2 ) Can I access it's members in a SQL statement from an "After Save" code block?
So Far: Form opens with a list of users on the database. When a user is selected, the edit window appears with no information displayed, just a warning about overwriting data, and a button to execute.
My Problem: It appears that this would most easily be accomplished with an after save piece of code, however I do not know where the data is stored internally in nuBuilder (I.E. what variable name I would reference in my CREATE TABLE SQL statement). I assume you are passing an array of data to the edit window. So my question is twofold 1) What is the name of this array, and 2 ) Can I access it's members in a SQL statement from an "After Save" code block?