View Full Version : What are "Control Breaks" in ADO/ASP ?
08-12-2007, 03:22 PM
What are "Control Breaks" in ADO/ASP ?
08-12-2007, 06:32 PM
Is this what you're looking for?
08-12-2007, 07:36 PM
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 ?
08-12-2007, 08:36 PM
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.
08-14-2007, 04:36 PM
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 ?
08-14-2007, 05:48 PM
Ok - so having had to look up what control breaks are :o I've found this:
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.
08-15-2007, 11:42 AM
... one of the keys on which a file is sorted ... what file ? where ? key <> file relation ? file=record ?
08-16-2007, 03:51 PM
Post. Your. Code.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.