Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-12-2007, 02:22 PM   PM User | #1
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
What are "Control Breaks" in ADO/ASP ?

What are "Control Breaks" in ADO/ASP ?
lse123 is offline   Reply With Quote
Old 08-12-2007, 05:32 PM   PM User | #2
nbcrockett
New Coder

 
Join Date: Jul 2007
Location: North Carolina, US
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
nbcrockett is an unknown quantity at this point
Is this what you're looking for?

vbCrLf
nbcrockett is offline   Reply With Quote
Old 08-12-2007, 06:36 PM   PM User | #3
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
what you mean , explain in more detail ?
I have an ado problem saying <<... is a "Control Breaks" problem get advice from instructor >> but the textbook do not cover it ?
lse123 is offline   Reply With Quote
Old 08-12-2007, 07:36 PM   PM User | #4
nbcrockett
New Coder

 
Join Date: Jul 2007
Location: North Carolina, US
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
nbcrockett is an unknown quantity at this point
Sorry, I thought you were asking for the code to create a break. Post your code and I'll see if I see any problems.
nbcrockett is offline   Reply With Quote
Old 08-14-2007, 03:36 PM   PM User | #5
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
Is just an ado exercise

Is just an ado exercise I do not know , how to do "Control Breaks" in ado to solve it ? can you tell me where to find more about the topic I refer ?
lse123 is offline   Reply With Quote
Old 08-14-2007, 04:48 PM   PM User | #6
Spudhead
Senior Coder

 
Spudhead's Avatar
 
Join Date: Jun 2002
Location: London, UK
Posts: 1,856
Thanks: 8
Thanked 110 Times in 109 Posts
Spudhead is on a distinguished road
Ok - so having had to look up what control breaks are I've found this:

Quote:
Originally Posted by answers.com
In a computer program, a control break occurs when there is a change in the value of one of the keys on which a file is sorted which requires some extra processing. For example, with an input file sorted by post code, the number of items found in each postal district might need to be printed on a report, and a heading shown for the next district. Quite often there is a hierarchy of nested control breaks in a program, e.g. streets within districts within areas, with the need for a grand total at the end.
So.. without seeing your code, I'm guessing you're looping through a list of results, and you need to do something like display a sub-section header. Most of solving this will be via getting your SQL right: grouping and ordering your results correctly. But without seeing your actual code it's going to be very hard to accurately identify the problem, let alone suggest a solution.
Spudhead is offline   Reply With Quote
Old 08-15-2007, 10:42 AM   PM User | #7
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
... one of the keys on which a file is sorted ... what file ? where ? key <> file relation ? file=record ?
lse123 is offline   Reply With Quote
Old 08-16-2007, 02:51 PM   PM User | #8
Spudhead
Senior Coder

 
Spudhead's Avatar
 
Join Date: Jun 2002
Location: London, UK
Posts: 1,856
Thanks: 8
Thanked 110 Times in 109 Posts
Spudhead is on a distinguished road
Post. Your. Code.

Spudhead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:43 PM.


Advertisement
Log in to turn off these ads.