473,554 Members | 2,152 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report Sorting at Run Time

Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....

And another post that was OrderByOn = True and setting the sort Order.

The second works, but since I can't use Sorting and Grouping, I can't
get totals that I need.

The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first Sort/
Group, Followed by Trailer #.

So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)

Perhaps I should be writing a separate report with the desired sort
and totals? I'm not sure - I know I could use just the one query, but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in others.
But I'd love confirmation or correction on this.

Thanks -
sara

Code:

Select Case Forms.frmPrintR eports.fraOBRep orts

Case 1
' Default Report Sort: Whse, Date, Trailer#

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n

Case 2
' Default Sort: Whse, Date, Trailer#

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"

GoTo Exit_Report_Ope n

Case 3
' Dept Sort: Whse, Date, Dept

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"

GoTo Exit_Report_Ope n

Case 4
' Goods Type Sort: Whse, GoodsType, Date

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"

GoTo Exit_Report_Ope n

Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'

GoTo Exit_Report_Ope n

End Select

(Error handling here)

May 11 '07 #1
8 2192
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your cases?
Also GroupLevel() numbers change as you add and remove groups.

"sara" <sa*******@yaho o.comwrote in message
news:11******** **************@ h2g2000hsg.goog legroups.com...
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....

And another post that was OrderByOn = True and setting the sort Order.

The second works, but since I can't use Sorting and Grouping, I can't
get totals that I need.

The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first Sort/
Group, Followed by Trailer #.

So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)

Perhaps I should be writing a separate report with the desired sort
and totals? I'm not sure - I know I could use just the one query, but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in others.
But I'd love confirmation or correction on this.

Thanks -
sara

Code:

Select Case Forms.frmPrintR eports.fraOBRep orts

Case 1
' Default Report Sort: Whse, Date, Trailer#

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n

Case 2
' Default Sort: Whse, Date, Trailer#

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"

GoTo Exit_Report_Ope n

Case 3
' Dept Sort: Whse, Date, Dept

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"

GoTo Exit_Report_Ope n

Case 4
' Goods Type Sort: Whse, GoodsType, Date

Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"

GoTo Exit_Report_Ope n

Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'

GoTo Exit_Report_Ope n

End Select

(Error handling here)

May 15 '07 #2
On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your cases?
Also GroupLevel() numbers change as you add and remove groups.

"sara" <saraqp...@yaho o.comwrote in message

news:11******** **************@ h2g2000hsg.goog legroups.com...
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the sort Order.
The second works, but since I can't use Sorting and Grouping, I can't
get totals that I need.
The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)
Perhaps I should be writing a separate report with the desired sort
and totals? I'm not sure - I know I could use just the one query, but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -

- Show quoted text -
There are no errors; code all executes and report is displayed.

I know the headers change as you add and remove, but I'm not sure how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.

I'm thinking that I have to create a separate report for each "view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?

Thanks -
sara
May 17 '07 #3

"sara" <sa*******@yaho o.comwrote in message
news:11******** **************@ o5g2000hsb.goog legroups.com...
On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your cases?
Also GroupLevel() numbers change as you add and remove groups.

"sara" <saraqp...@yaho o.comwrote in message

news:11******** **************@ h2g2000hsg.goog legroups.com...
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the sort Order.
The second works, but since I can't use Sorting and Grouping, I can't
get totals that I need.
The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)
Perhaps I should be writing a separate report with the desired sort
and totals? I'm not sure - I know I could use just the one query, but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -

There are no errors; code all executes and report is displayed.

I know the headers change as you add and remove, but I'm not sure how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.

I'm thinking that I have to create a separate report for each "view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?

Thanks -
sara

The code may execute by you still have an error, Step though the code, I
would bet that frmPrintReports .fraOBReports in your Case statement is Null
or undefined. As for using a seperate report for each view, you logic looks
OK for changing sort order. Get the code working and one report should
handle you needs.
May 18 '07 #4
On May 18, 8:58 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message

news:11******** **************@ o5g2000hsb.goog legroups.com...


On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your cases?
Also GroupLevel() numbers change as you add and remove groups.
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* *************** @h2g2000hsg.goo glegroups.com.. .
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the sort Order.
The second works, but since I can't use Sorting and Grouping, I can't
get totals that I need.
The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)
Perhaps I should be writing a separate report with the desired sort
and totals? I'm not sure - I know I could use just the one query, but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -
There are no errors; code all executes and report is displayed.
I know the headers change as you add and remove, but I'm not sure how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.
I'm thinking that I have to create a separate report for each "view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?
Thanks -
sara

The code may execute by you still have an error, Step though the code, I
would bet that frmPrintReports .fraOBReports in your Case statement is Null
or undefined. As for using a seperate report for each view, you logic looks
OK for changing sort order. Get the code working and one report should
handle you needs.- Hide quoted text -

- Show quoted text -
I have checked as you suggested, and all is well.

I put "Break on all errors" - no errors
I stepped through the code - no errors; it follows as I would expect.
I checked the value of fraOBReports in the selectcase statements, and
it was "5" both times.

Any other ideas?

thanks -
sara

May 18 '07 #5

"sara" <sa*******@yaho o.comwrote in message
news:11******** *************@y 80g2000hsf.goog legroups.com...
On May 18, 8:58 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message

news:11******** **************@ o5g2000hsb.goog legroups.com...


On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your
cases?
Also GroupLevel() numbers change as you add and remove groups.
"sara" <saraqp...@yaho o.comwrote in message
news:11******** **************@ h2g2000hsg.goog legroups.com...
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the sort
Order.
The second works, but since I can't use Sorting and Grouping, I
can't
get totals that I need.
The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first
Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)
Perhaps I should be writing a separate report with the desired
sort
and totals? I'm not sure - I know I could use just the one query,
but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in
others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -
There are no errors; code all executes and report is displayed.
I know the headers change as you add and remove, but I'm not sure how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.
I'm thinking that I have to create a separate report for each "view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?
Thanks -
sara
The code may execute by you still have an error, Step though the code, I
would bet that frmPrintReports .fraOBReports in your Case statement is
Null
or undefined. As for using a seperate report for each view, you logic
looks
OK for changing sort order. Get the code working and one report should
handle you needs.- Hide quoted text -

- Show quoted text -

I have checked as you suggested, and all is well.

I put "Break on all errors" - no errors
I stepped through the code - no errors; it follows as I would expect.
I checked the value of fraOBReports in the selectcase statements, and
it was "5" both times.

Any other ideas?

thanks -
sara
Is the code in the Report Open event?
May 18 '07 #6
On May 18, 12:30 pm, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message

news:11******** *************@y 80g2000hsf.goog legroups.com...


On May 18, 8:58 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* *************** @o5g2000hsb.goo glegroups.com.. .
On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your
cases?
Also GroupLevel() numbers change as you add and remove groups.
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* *************** @h2g2000hsg.goo glegroups.com.. .
Hi -
I have looked at all posts and tried both Allen Browne's Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the sort
Order.
The second works, but since I can't use Sorting and Grouping, I
can't
get totals that I need.
The first works in one App, but does not work now. Any idea why?
When I run for any option, I get the OutboundDate as the first
Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled by
Trailer)
Perhaps I should be writing a separate report with the desired
sort
and totals? I'm not sure - I know I could use just the one query,
but
I'm trying to be efficient, if possible. I have the feeling it's
because I have header, totals in some footers and blanks in
others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -
There are no errors; code all executes and report is displayed.
I know the headers change as you add and remove, but I'm not sure how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.
I'm thinking that I have to create a separate report for each "view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?
Thanks -
sara
The code may execute by you still have an error, Step though the code, I
would bet that frmPrintReports .fraOBReports in your Case statement is
Null
or undefined. As for using a seperate report for each view, you logic
looks
OK for changing sort order. Get the code working and one report should
handle you needs.- Hide quoted text -
- Show quoted text -
I have checked as you suggested, and all is well.
I put "Break on all errors" - no errors
I stepped through the code - no errors; it follows as I would expect.
I checked the value of fraOBReports in the selectcase statements, and
it was "5" both times.
Any other ideas?
thanks -
sara

Is the code in the Report Open event?- Hide quoted text -

- Show quoted text -
Yes.

Should it be?

Sara

May 19 '07 #7

"sara" <sa*******@yaho o.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
On May 18, 12:30 pm, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message

news:11******** *************@y 80g2000hsf.goog legroups.com...


On May 18, 8:58 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message
news:11******** **************@ o5g2000hsb.goog legroups.com...
On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the
code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your
cases?
Also GroupLevel() numbers change as you add and remove groups.
"sara" <saraqp...@yaho o.comwrote in message
news:11******** **************@ h2g2000hsg.goog legroups.com...
Hi -
I have looked at all posts and tried both Allen Browne's
Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the
sort
Order.
The second works, but since I can't use Sorting and Grouping,
I
can't
get totals that I need.
The first works in one App, but does not work now. Any idea
why?
When I run for any option, I get the OutboundDate as the first
Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm
seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled
by
Trailer)
Perhaps I should be writing a separate report with the desired
sort
and totals? I'm not sure - I know I could use just the one
query,
but
I'm trying to be efficient, if possible. I have the feeling
it's
because I have header, totals in some footers and blanks in
others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -
There are no errors; code all executes and report is displayed.
I know the headers change as you add and remove, but I'm not sure
how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.
I'm thinking that I have to create a separate report for each
"view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?
Thanks -
sara
The code may execute by you still have an error, Step though the
code, I
would bet that frmPrintReports .fraOBReports in your Case statement
is
Null
or undefined. As for using a seperate report for each view, you
logic
looks
OK for changing sort order. Get the code working and one report
should
handle you needs.- Hide quoted text -
- Show quoted text -
I have checked as you suggested, and all is well.
I put "Break on all errors" - no errors
I stepped through the code - no errors; it follows as I would expect.
I checked the value of fraOBReports in the selectcase statements, and
it was "5" both times.
Any other ideas?
thanks -
sara
Is the code in the Report Open event?- Hide quoted text -

- Show quoted text -

Yes.

Should it be?

Sara
Yes, at least that is where it is in my reports.

Your code looks reasonable, since the case statement is working an the right
Case executes, There must be a problem with the data or groups. Try
disabling the code then set the sorting manually to see if it works.
May 21 '07 #8
On May 21, 8:09 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message

news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
On May 18, 12:30 pm, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* **************@ y80g2000hsf.goo glegroups.com.. .
On May 18, 8:58 am, "paii, Ron" <p...@packairin c.comwrote:
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* *************** @o5g2000hsb.goo glegroups.com.. .
On May 15, 11:33 am, "paii, Ron" <p...@packairin c.comwrote:
Have you tried setting a break point and stepping though the
code.
1) Check for any errors like unknown field names ect.
2) Is Forms.frmPrintR eports.fraOBRep orts returning one of your
cases?
Also GroupLevel() numbers change as you add and remove groups.
"sara" <saraqp...@yaho o.comwrote in message
>news:11******* *************** @h2g2000hsg.goo glegroups.com.. .
Hi -
I have looked at all posts and tried both Allen Browne's
Report
Sorting at run Time
( Select Case Forms!frmChoose Sort!grpSort
Case 1 'Name
Me.GroupLevel(0 ).ControlSource = "LastName"
Me.GroupLevel(1 ).ControlSource = "FirstName" ) .....
And another post that was OrderByOn = True and setting the
sort
Order.
The second works, but since I can't use Sorting and Grouping,
I
can't
get totals that I need.
The first works in one App, but does not work now. Any idea
why?
When I run for any option, I get the OutboundDate as the first
Sort/
Group, Followed by Trailer #.
So, when for Case 5 I want Whse, Location, then Date, I'm
seeing:
Whse 3
Date
Trailer #
Dept (Details, grouped by location, but totaled
by
Trailer)
Perhaps I should be writing a separate report with the desired
sort
and totals? I'm not sure - I know I could use just the one
query,
but
I'm trying to be efficient, if possible. I have the feeling
it's
because I have header, totals in some footers and blanks in
others.
But I'd love confirmation or correction on this.
Thanks -
sara
Code:
Select Case Forms.frmPrintR eports.fraOBRep orts
Case 1
' Default Report Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 2
' Default Sort: Whse, Date, Trailer#
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(2 ).ControlSource = "TrailerNum "
Me.GroupLevel(3 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 3
' Dept Sort: Whse, Date, Dept
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(2 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(1 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "LocationKe y"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
GoTo Exit_Report_Ope n
Case 4
' Goods Type Sort: Whse, GoodsType, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "GoodsType"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "LocationKe y"
GoTo Exit_Report_Ope n
Case 5
' Location Sort: Whse, Location, Date
Me.GroupLevel(0 ).ControlSource = "WhseKey"
Me.GroupLevel(1 ).ControlSource = "LocationKe y"
Me.GroupLevel(2 ).ControlSource = "OutboundDa te"
Me.GroupLevel(3 ).ControlSource = "TrailerNum "
Me.GroupLevel(4 ).ControlSource = "CreditSale sTo"
Me.GroupLevel(5 ).ControlSource = "GoodsTypeK ey"
'
GoTo Exit_Report_Ope n
End Select
(Error handling here)- Hide quoted text -
- Show quoted text -
There are no errors; code all executes and report is displayed.
I know the headers change as you add and remove, but I'm not sure
how
that impacts what I'm doing?? I put these from 0 ot 5 in the order
that I want the data displayed.
I'm thinking that I have to create a separate report for each
"view"
that the users see. I am trying to "reuse" everywhere I can, but
maybe I can't here?
Thanks -
sara
The code may execute by you still have an error, Step though the
code, I
would bet that frmPrintReports .fraOBReports in your Case statement
is
Null
or undefined. As for using a seperate report for each view, you
logic
looks
OK for changing sort order. Get the code working and one report
should
handle you needs.- Hide quoted text -
- Show quoted text -
I have checked as you suggested, and all is well.
I put "Break on all errors" - no errors
I stepped through the code - no errors; it follows as I would expect.
I checked the value of fraOBReports in the selectcase statements, and
it was "5" both times.
Any other ideas?
thanks -
sara
Is the code in the Report Open event?- Hide quoted text -
- Show quoted text -
Yes.
Should it be?
Sara

Yes, at least that is where it is in my reports.

Your code looks reasonable, since the case statement is working an the right
Case executes, There must be a problem with the data or groups. Try
disabling the code then set the sorting manually to see if it works.- Hide quoted text -

- Show quoted text -
I'll try this - I'm out for a few weeks, but may get to it while out.
Otherwise, I'll post when I've tried it.
Thanks

May 22 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2019
by: Richard Holliingsworth | last post by:
Hello: Thanks for reading this. I would like to build a report (Access 2002) that uses SQL queries to count records in specific groups. I've tried several methods and so far no luck. Could someone please point me in the right direction on this one. It
3
2324
by: Grim Reaper | last post by:
I know this is probably an easy question, but I could not find/figure it out. Basically, I am printing mailing labels with a "Sorting/Grouping" section that groups the label types together. Also, I am using a "Report Header" to show a count of how many total labels that are being printed. Now, my problem is that without the "Report...
3
2719
by: ahaque38 | last post by:
Hello. Using A2K SP3, I am having the following problem with a report using "Sorting and Grouping". I have recently added a grouping in the reports for "Category2<>'CONTRACTS'". I have reports at the plan (overall totals), department and division levels which have sorting and grouping implemented with this new
11
3878
by: James P. | last post by:
Hello, I have a report with the Priority field is used as sort order and grouping. The problem is the data in this Priority field if sorted in ascending order is: High, Low, and Medium. How could I sort it as: Low, Medium, High? Any suggestion is greatly appreciated, James
8
3498
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word...
7
2412
by: manning_news | last post by:
I've got a report that's not sorting correctly. I build a SQL statement and assign it to the recordsource in the Open event, sorting the data the way the user chooses. The user can choose up to 3 sorts using a form that opens before the report opens. When the report previews, it ignores the users' sort request and always sorts by the...
4
7219
by: Jana | last post by:
Hi! I have an Access 97 report based on tables linked to an SQL back end. The report has 5 subreports in it (unfortunately unavoidable due to the nature of the report) and performance is quite slow. The query runs quickly and the report displays the first page in a short amount of time, but takes quite a while to format each page. This...
8
1761
by: Darknight850 | last post by:
Hello All, I have a question about sorting in a report. Right now I have multiple reports sorting off of my companies table that has two fields; CompaniesID, and Company Name. Well the problem I am running into is that I constantly add new companies into this table and the CompaniesID is an auto number that currently all the reports are...
1
4137
by: anubis2k7 | last post by:
Hi, I am having a problem with dynamically sorting/grouping data in my report at runtime. My problem is that when the report is run using sorting/grouping I am missing data. Specifically, my situation is that I have a query that contains results from 2 tables that have a one to many relationship to each other (ex. 1=Contact, M=Contact...
0
7605
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7530
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7808
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7570
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7893
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6156
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3556
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2022
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.