Morning,
Novice when it comes to tables and designing them, and am looking at a way to create a database that will store all the scripts that i create to help me do things as well as maybe keep version control so that if i modify it i can see the modifications and role back if things go bad, i would like to use a web front end to view the data and maybe post back as well tho at this moment in time i am unsure if that is possible.
I am using acces 2007 and have downloaded the new odbc settings from microsoft and installed on my iis box so i can use the new file extentions.
My tables so far are as follows:
tblScript
ScriptID (PK)
ScriptName
ScriptDescription
DateCreated
Notes
ExecutionMethod
ScriptImpact
TblLines
LineID (PK)
ScriptID (FK)
LineNumber
Line
Notes
DateAdded
DateModified
TabCol
NewLine
and so far i have entered one script and if i view the information i can see that it links sucessfully to all the lines of code that go with the scriptid.
as i have scripts that go over 1000's of lines is there a way to automate the import? Maybe paste the script to a memo field and use vb to read each line and add it to the database? would i do this on the database or asp?
also how about version control would i use another table for this or could i have another field for active/inactive and let the asp check for the modified date? but then if its modified i'd still want to keep track of the modification?
Any help would be great, i'm off till monday for christmas but will be back online again then
until then
Merry Christmas
Mike
Novice when it comes to tables and designing them, and am looking at a way to create a database that will store all the scripts that i create to help me do things as well as maybe keep version control so that if i modify it i can see the modifications and role back if things go bad, i would like to use a web front end to view the data and maybe post back as well tho at this moment in time i am unsure if that is possible.
I am using acces 2007 and have downloaded the new odbc settings from microsoft and installed on my iis box so i can use the new file extentions.
My tables so far are as follows:
tblScript
ScriptID (PK)
ScriptName
ScriptDescription
DateCreated
Notes
ExecutionMethod
ScriptImpact
TblLines
LineID (PK)
ScriptID (FK)
LineNumber
Line
Notes
DateAdded
DateModified
TabCol
NewLine
and so far i have entered one script and if i view the information i can see that it links sucessfully to all the lines of code that go with the scriptid.
as i have scripts that go over 1000's of lines is there a way to automate the import? Maybe paste the script to a memo field and use vb to read each line and add it to the database? would i do this on the database or asp?
also how about version control would i use another table for this or could i have another field for active/inactive and let the asp check for the modified date? but then if its modified i'd still want to keep track of the modification?
Any help would be great, i'm off till monday for christmas but will be back online again then
until then
Merry Christmas
Mike