Presently have plenty of modules that create tailored PortalID, ModuleID & UserID values.
Without this information, data is lost once the module has been deleted from page.
I figure that the PortalID & UserID are already established, since they are already in use.
Furthermore, so is the module, since it has already been dropped.
What I am wondering, is within my script or query how can I reference this data, which is already within database?
Traditional controller.vb names the command: ModuleName.ModuleId
Looking for information to be put in with script or query.
This works (but without assigning unique values)
"INSERT INTO tablename (ModuleId, UserID, ClientName, Sum, Score, Product, Equip) VALUES (1,1,1,1,1,1,1)"
This is the first attempt at grabbing existing data from sql (missing something)
"INSERT INTO tablename (ModuleId, UserID, ClientName, Sum, Score, Product, Equip) VALUES (ModuleName.ModuleId,1,1,1,1,1,1)"
Might need a declaration outside of script in a location or two. More informative the better.
Feedback Appreciated,
-Machina12