Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What are "Control Breaks" in ADO/ASP ?

    What are "Control Breaks" in ADO/ASP ?

  • #2
    New Coder
    Join Date
    Jul 2007
    Location
    North Carolina, US
    Posts
    32
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Is this what you're looking for?

    vbCrLf

  • #3
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ?

  • #4
    New Coder
    Join Date
    Jul 2007
    Location
    North Carolina, US
    Posts
    32
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 ?

  • #6
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    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.

  • #7
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ... one of the keys on which a file is sorted ... what file ? where ? key <> file relation ? file=record ?

  • #8
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    Post. Your. Code.



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •