You are here: Re: Help writing an If else statement « MsSQL Server « IT news, forums, messages
Re: Help writing an If else statement

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация