473,722 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 2003 - Country Code Not Like Canada or USA

Access 2003: I currently apply my Postal/Zip Code Format based off the
Country Selected; the way I do it is by checking on the country; using the
forms "On Current" event procedure, then I use additional code on my
Postal/Zip Code field, using the fields "On Got Focus" event (Code Below) to
manipulate the input mask.

This procedure works well; however, I now wish to have a longer Value List
of countries instead of using "Other", but I certainly do not wish to apply
a postal code format for each.

The question is; where I currently use "Case Other" on the forms "On Current
event, and the fields On Got Focus, "ElseIf PCountry = "Other" Then".. How
can I change this to reflect all the other countries Not Like Canada or The
US.

Thanks in advance,

Dave

' ---------- Code Starts ----------
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then

Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"

If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If

Case "Other"
[txtPPostalCode].Format = ""

End Select

End If

End Sub
' ---------- Code Ends ----------
' ---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
' ---------- Code Ends ----------


Nov 13 '05 #1
9 2059
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in
news:og******** *************@u rsa-nb00s0.nbnet.nb .ca:
Access 2003: I currently apply my Postal/Zip Code Format
based off the Country Selected; the way I do it is by checking
on the country; using the forms "On Current" event procedure,
then I use additional code on my Postal/Zip Code field, using
the fields "On Got Focus" event (Code Below) to manipulate the
input mask.

This procedure works well; however, I now wish to have a
longer Value List of countries instead of using "Other", but I
certainly do not wish to apply a postal code format for each.

The question is; where I currently use "Case Other" on the
forms "On Current event, and the fields On Got Focus, "ElseIf
PCountry = "Other" Then".. How can I change this to reflect
all the other countries Not Like Canada or The US.

Thanks in advance,

Dave

Replace Case "Other" with Case Else
Bob Quintal


' ---------- Code Starts ----------
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then

Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"

If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If

Case "Other"
[txtPPostalCode].Format = ""

End Select

End If

End Sub
' ---------- Code Ends ----------
' ---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
' ---------- Code Ends ----------



Nov 13 '05 #2
Bob Quintal wrote:
Replace Case "Other" with Case Else


Hi Bob; I entered "Case Else", but was immediately prompted for an "End
Statement"?

Just curious; By changing the code to "Case Else, and leaving "Other", will
this recognize, say, Spain, as Other, or how will this work.
At first I only had three choices, "Canada, USA, or Other" to select from;
however, I now have Canada, USA, as the first choices, with Canada as the
default, and a complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then Canada, or the USA
are selected, I don't what an input mask, simply accept the entered data as
is.

Nov 13 '05 #3
Don't think you did the case else correctly and yes this will give you the
results you are looking for. If the country is anything other then Canada
or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
Bob Quintal wrote:
Replace Case "Other" with Case Else
Hi Bob; I entered "Case Else", but was immediately prompted for an "End
Statement"?

Just curious; By changing the code to "Case Else, and leaving "Other",

will this recognize, say, Spain, as Other, or how will this work.
At first I only had three choices, "Canada, USA, or Other" to select from;
however, I now have Canada, USA, as the first choices, with Canada as the
default, and a complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then Canada, or the USA are selected, I don't what an input mask, simply accept the entered data as is.

Nov 13 '05 #4
Reggie,

Thank you for your solution; however, I now think the issue is with the "On
Got Focus" for the field, as that is where I actually apply the input mask
(see code below.

I wonder how to deal with the"= Other" Then.... portion of the code; any
additional guidance would be welcome!

Cheers,

Dave

'---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
'---------- Code Ends ----------
"Reggie" <no**********@s mittysinet.com> wrote in message
news:qM******** ************@co mcast.com...
Don't think you did the case else correctly and yes this will give you the
results you are looking for. If the country is anything other then Canada
or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
Bob Quintal wrote:
Replace Case "Other" with Case Else


Hi Bob; I entered "Case Else", but was immediately prompted for an "End
Statement"?

Just curious; By changing the code to "Case Else, and leaving "Other",

will
this recognize, say, Spain, as Other, or how will this work.
At first I only had three choices, "Canada, USA, or Other" to select from; however, I now have Canada, USA, as the first choices, with Canada as the default, and a complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then Canada, or the

USA
are selected, I don't what an input mask, simply accept the entered data

as
is.


Nov 13 '05 #5
Dave have you tried the after update event of the PCountry field/control?

Private Sub PCountry_AfterU pdate()
Dim strCountry As String
strCountry = Me.PCountry

Select Case strCountry
Case "Canada"
Me.[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Case "USA"
Me.[txtPPostalCode].InputMask = "00000-9999;;_"
Case Else 'If the country is not Canada or USA not input mask will
be used
Me.[txtPPostalCode].InputMask = ""
End Select
End Sub

--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:zc******** *************@u rsa-nb00s0.nbnet.nb .ca...
Reggie,

Thank you for your solution; however, I now think the issue is with the "On Got Focus" for the field, as that is where I actually apply the input mask
(see code below.

I wonder how to deal with the"= Other" Then.... portion of the code; any
additional guidance would be welcome!

Cheers,

Dave

'---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
'---------- Code Ends ----------
"Reggie" <no**********@s mittysinet.com> wrote in message
news:qM******** ************@co mcast.com...
Don't think you did the case else correctly and yes this will give you the
results you are looking for. If the country is anything other then Canada or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
Bob Quintal wrote:

> Replace Case "Other" with Case Else

Hi Bob; I entered "Case Else", but was immediately prompted for an "End Statement"?

Just curious; By changing the code to "Case Else, and leaving "Other",

will
this recognize, say, Spain, as Other, or how will this work.
At first I only had three choices, "Canada, USA, or Other" to select from; however, I now have Canada, USA, as the first choices, with Canada as the default, and a complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then Canada, or

the USA
are selected, I don't what an input mask, simply accept the entered
data as
is.



Nov 13 '05 #6
Dave have you tried the after update event of the PCountry field/control?

Private Sub PCountry_AfterU pdate()
Dim strCountry As String
strCountry = Me.PCountry

Select Case strCountry
Case "Canada"
Me.[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Case "USA"
Me.[txtPPostalCode].InputMask = "00000-9999;;_"
Case Else 'If the country is not Canada or USA not input mask will
be used
Me.[txtPPostalCode].InputMask = ""
End Select
End Sub

--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:zc******** *************@u rsa-nb00s0.nbnet.nb .ca...
Reggie,

Thank you for your solution; however, I now think the issue is with the "On Got Focus" for the field, as that is where I actually apply the input mask
(see code below.

I wonder how to deal with the"= Other" Then.... portion of the code; any
additional guidance would be welcome!

Cheers,

Dave

'---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
'---------- Code Ends ----------
"Reggie" <no**********@s mittysinet.com> wrote in message
news:qM******** ************@co mcast.com...
Don't think you did the case else correctly and yes this will give you the
results you are looking for. If the country is anything other then Canada or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
Bob Quintal wrote:

> Replace Case "Other" with Case Else

Hi Bob; I entered "Case Else", but was immediately prompted for an "End Statement"?

Just curious; By changing the code to "Case Else, and leaving "Other",

will
this recognize, say, Spain, as Other, or how will this work.
At first I only had three choices, "Canada, USA, or Other" to select from; however, I now have Canada, USA, as the first choices, with Canada as the default, and a complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then Canada, or

the USA
are selected, I don't what an input mask, simply accept the entered
data as
is.



Nov 13 '05 #7
Reggie,

Thanks again :-o)

Your solutions worked perfectly; exactly how I wished..you've been a great
help!

Hope you have a wonderful day!

Cheers,

Dave

"Reggie" <no**********@s mittysinet.com> wrote in message
news:UJ******** ************@co mcast.com...
Dave have you tried the after update event of the PCountry field/control?

Private Sub PCountry_AfterU pdate()
Dim strCountry As String
strCountry = Me.PCountry

Select Case strCountry
Case "Canada"
Me.[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Case "USA"
Me.[txtPPostalCode].InputMask = "00000-9999;;_"
Case Else 'If the country is not Canada or USA not input mask will
be used
Me.[txtPPostalCode].InputMask = ""
End Select
End Sub

--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:zc******** *************@u rsa-nb00s0.nbnet.nb .ca...
Reggie,

Thank you for your solution; however, I now think the issue is with the

"On
Got Focus" for the field, as that is where I actually apply the input mask
(see code below.

I wonder how to deal with the"= Other" Then.... portion of the code; any
additional guidance would be welcome!

Cheers,

Dave

'---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
'---------- Code Ends ----------
"Reggie" <no**********@s mittysinet.com> wrote in message
news:qM******** ************@co mcast.com...
Don't think you did the case else correctly and yes this will give you the results you are looking for. If the country is anything other then Canada or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
> Bob Quintal wrote:
>
> > Replace Case "Other" with Case Else
>
> Hi Bob; I entered "Case Else", but was immediately prompted for an "End > Statement"?
>
> Just curious; By changing the code to "Case Else, and leaving "Other", will
> this recognize, say, Spain, as Other, or how will this work.
> At first I only had three choices, "Canada, USA, or Other" to select

from;
> however, I now have Canada, USA, as the first choices, with Canada
as the
> default, and a complete list of countries after the two top choices.
>
> Essentially, what I'm after is: if any country other then Canada, or

the USA
> are selected, I don't what an input mask, simply accept the entered data as
> is.
>
>
>



Nov 13 '05 #8
Reggie,

Thanks again :-o)

Your solutions worked perfectly; exactly how I wished..you've been a great
help!

Hope you have a wonderful day!

Cheers,

Dave

"Reggie" <no**********@s mittysinet.com> wrote in message
news:UJ******** ************@co mcast.com...
Dave have you tried the after update event of the PCountry field/control?

Private Sub PCountry_AfterU pdate()
Dim strCountry As String
strCountry = Me.PCountry

Select Case strCountry
Case "Canada"
Me.[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Case "USA"
Me.[txtPPostalCode].InputMask = "00000-9999;;_"
Case Else 'If the country is not Canada or USA not input mask will
be used
Me.[txtPPostalCode].InputMask = ""
End Select
End Sub

--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:zc******** *************@u rsa-nb00s0.nbnet.nb .ca...
Reggie,

Thank you for your solution; however, I now think the issue is with the

"On
Got Focus" for the field, as that is where I actually apply the input mask
(see code below.

I wonder how to deal with the"= Other" Then.... portion of the code; any
additional guidance would be welcome!

Cheers,

Dave

'---------- Code Starts ----------
Private Sub txtPPostalCode_ GotFocus()
If PCountry = "Canada" Then
[txtPPostalCode].InputMask = ">L0L\ 0L0;;_"
Else

If PCountry = "USA" Then
[txtPPostalCode].InputMask = "00000-9999;;_"
ElseIf PCountry = "Other" Then
[txtPPostalCode].InputMask = ""
End If

End If

End Sub
'---------- Code Ends ----------
"Reggie" <no**********@s mittysinet.com> wrote in message
news:qM******** ************@co mcast.com...
Don't think you did the case else correctly and yes this will give you the results you are looking for. If the country is anything other then Canada or US then there will me no format:
Private Sub Form_Current()

Dim Cancel As Integer
Dim strTitle As String
Dim strMsg As String

If Len([txtPPostalCode]) > 0 Then
Select Case PCountry
Case "Canada"
[txtPPostalCode].Format = "@@@ @@@"
Case "USA"
If Val([txtPPostalCode]) > 99999 Then
[txtPPostalCode].Format = "!@@@@@-@@@@"
Else
[txtPPostalCode].Format = "!@@@@@"
End If
Case Else
[txtPPostalCode].Format = ""
End Select
End If
End Sub
--
Reggie

www.smittysinet.com
----------
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in message
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca...
> Bob Quintal wrote:
>
> > Replace Case "Other" with Case Else
>
> Hi Bob; I entered "Case Else", but was immediately prompted for an "End > Statement"?
>
> Just curious; By changing the code to "Case Else, and leaving "Other", will
> this recognize, say, Spain, as Other, or how will this work.
> At first I only had three choices, "Canada, USA, or Other" to select

from;
> however, I now have Canada, USA, as the first choices, with Canada
as the
> default, and a complete list of countries after the two top choices.
>
> Essentially, what I'm after is: if any country other then Canada, or

the USA
> are selected, I don't what an input mask, simply accept the entered data as
> is.
>
>
>



Nov 13 '05 #9
"Dave Brydon" <db*****@ns.sym patico.ca> wrote in
news:Qa******** *************@u rsa-nb00s0.nbnet.nb .ca:
Bob Quintal wrote:
Replace Case "Other" with Case Else
Hi Bob; I entered "Case Else", but was immediately prompted
for an "End Statement"?


You had two code segments, first, the Select Case
statement. I didn't notice that the second segment had if
statements. If you modify the if...elseif block to a select case
block like the first, it will work. Besides, having consistent
constructs will make the relationship much more evident, when you
go to modify it in 10 years.

Bob Quintal


Just curious; By changing the code to "Case Else, and leaving
"Other", will this recognize, say, Spain, as Other, or how
will this work. At first I only had three choices, "Canada,
USA, or Other" to select from; however, I now have Canada,
USA, as the first choices, with Canada as the default, and a
complete list of countries after the two top choices.

Essentially, what I'm after is: if any country other then
Canada, or the USA are selected, I don't what an input mask,
simply accept the entered data as is.


Nov 13 '05 #10

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

Similar topics

4
2074
by: Odin | last post by:
Hello I am making a webpage with two dropdown menus. First I have a dropdown menu with a list of 235 countries. When one country is selected from this list the contents of the next dropdown menu is decided from a coresponding file containing a huge amount of cities. The biggest of these files being 6 MB. Getting different advices I have now to different sets of code doing this thing. Does anyone know if any of these two sets of code is...
8
2175
by: Bruce Dodds | last post by:
When run manually, my query appends 14 records. When run from code using CurrentProject.Connection.Execute, the same query appends 11 records. Does anyone have an explanation of why this could be happening? I have tried the ADO 2.1 and 2.7 libraries. TIA
2
3312
by: Paul | last post by:
Hi everyone, here is the problem: I have 2 fields...Province and PostalCode The afterUpdate event of the province has this snippet of code: ... ... If Country = "canada" Then PostalCode.InputMask = ">L0L\ 0L0;0;_" docmd.gotocontrol "PostalCode" ... ...
6
3669
by: Terry Bell | last post by:
We've had a very large A97 app running fine for the last seven years. I've just converted to SQL Server backend, which is being tested, but meanwhile the JET based version, running under terminal server, has suddenly started running very slowly. The network engineer has thrown up his hands and said "It's Access 97". I've checked out lots of things including the Oplocks setting and other stuff from this NG, and I think I've done everything...
3
9614
by: Michael | last post by:
I work with a highly programmed Access database (some 15,000 lines of VBA code, much of it automating data entry on forms -- and believe me, it's very tight code). In Access 97, 2000, 2002, and 2003, no performance problems. However, when I open the same database in Access 2007, it's as slow as molasses. Data trickles onto the form instead of an immediate display in Access 2003. This happens regardless of whether I keep the Access...
1
1847
by: carrajo | last post by:
I'm working with access 2000 and I can't seem to get the query working: SELECT users.fullname, country.country, state.state FROM users, user_countries, country LEFT JOIN states ON user_countries.state_id = states.state_id WHERE users.user_id = 1 AND users.user_id = user_countries.user_id AND user_countries.country_id = country.country_id
1
10800
by: icepoint | last post by:
Hey everyone, Can anyone tell me how to make dynamice drop down lists for country and states? I have the models for country and states build and have the country drop down list worked, so how can I make the state list changes corressponding to the change of the country list? etc. Canada -> only canada provinces... Thanks
13
2541
by: evancater | last post by:
My client wants to make their Access 2007 database available to offices around the country with multi-user permissions set to control access to the tables and forms, etc. The easiest thing would be a client/server app, but they are concerned that accessing the backend on their VPN would be too slow. We've discussed the possibility of publishing the forms to the intranet with ASP, but I'm concerned that web development with Access is a...
1
2373
by: bbcdancer | last post by:
I have a database table called "tbl_personal" and struggling to VBA program a bit of code to create multiple tables in a database from the main "tbl_personal" table. In this case the 'color' column is the field I would like to look at. 1. Identify the number of unique records in column 'color' 2. For each color record that is label as red in the "tbl_personal"
0
8863
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8739
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9384
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9157
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9088
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8052
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4502
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.