Posted by Ed Murphy on 07/07/07 01:31
JJ297 wrote:
> Hello I'm a newbie to programming and need help writing an if
> statement.
>
> I have a database set up in SQL with the following fields:
>
> Category Questions Answers
>
> I only want one category to appear for all of the questions and
> answers submitted for that category. The way I have it set up now all
> if a question is submitted for the same category then the category
> will list twice and a one question under each other.
>
> How do I write something if I Dim Category
>
> If it's the same category but a different question just list that
> question under that category. If it's a new category list that
> category and the questions and answers under that
This sounds like it should be done in a separate reporting
layer, using Crystal Reports or something similar.
Navigation:
[Reply to this message]
|