Hi all,
I have a blog table...
that has another associated table...
but now I want to be able to attach a poll to blog if needed...
Here's my question... I want to be able to add the poll at the same time as the blog. How do I do that? This means that if a certain checkbox is checked then all the poll at the same as the blog... if it is not then the only add the blog.
This is different from a rating because there is already a BlogID to reference. How do I add the blog's BlogID to the myBlogPoll as a foreign key. I am having a hard problem with this is because the BlogID is added to myBlog(Table1) as an identity (set to increment by 1).
So far I have found out that I can only edit one table at a time. Does any one know of a way to workaround this?
Thanks in advance,
-a8le
I have a blog table...
VB.NET:
myBlog(Table)
BlogID (primary key)
Text(varchar 8000)
Date(datetime)
VB.NET:
myBlogRatings(Table2)
RatingID (primary key)
Rating (float)
RatersIP (varchar 15)
BlogID (foreign key)
VB.NET:
myBlogPoll(Table3)
PollID (primary key)
PollQuestion (varchar 3000)
PollVote (int)
PollIpAddress (char 15)
This is different from a rating because there is already a BlogID to reference. How do I add the blog's BlogID to the myBlogPoll as a foreign key. I am having a hard problem with this is because the BlogID is added to myBlog(Table1) as an identity (set to increment by 1).
So far I have found out that I can only edit one table at a time. Does any one know of a way to workaround this?
Thanks in advance,
-a8le