473,545 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

retrieving a value from a list box

Hi

I am using the following SQL to retrieve a value in a list box using a
unique ID held in the list box call cntID. The list box is used on an
order form to list appointments that have been made for service staff.

My problem is the SQL is not retrieving the value of the listbox. I
have tested the SQL by entering a fixed value of a valid entry in the
listbox and it works fine, but as soon as I replace the fixed value
with (Forms!frmOEOrd er!ListSchedule ) it fails to pick up anything. I
have a feeling that I need to address the row in the list box and then
loop through all the entries, but I don't know the syntax

This is the SQL

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)

What am I doing wrong ?

Dave Hopper
Nov 13 '05 #1
6 9634
Hi Dave,

You just need to get the selected item.
Assuming your data is integer...

dim val as integer, i as integer
dim ctl as control

set ctl = Forms!frmOEOrde r!ListSchedule

for i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
exit for
End If
Next i

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "' WHERE tblSMSchedule.c ntID = " & val
DoCmd.RunSQL (str)

HTH Linda

"Dave Hopper" <da**********@d atelnet.co.uk> wrote in message
news:af******** *************** ***@posting.goo gle.com...
Hi

I am using the following SQL to retrieve a value in a list box using a
unique ID held in the list box call cntID. The list box is used on an
order form to list appointments that have been made for service staff.

My problem is the SQL is not retrieving the value of the listbox. I
have tested the SQL by entering a fixed value of a valid entry in the
listbox and it works fine, but as soon as I replace the fixed value
with (Forms!frmOEOrd er!ListSchedule ) it fails to pick up anything. I
have a feeling that I need to address the row in the list box and then
loop through all the entries, but I don't know the syntax

This is the SQL

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)

What am I doing wrong ?

Dave Hopper

Nov 13 '05 #2
> str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)
First, a couple of questions. Is the form frmOEOrder open when you try to do
this and is ListSchedule a multiselect listbox?

Assuming yes and no respectively above, then try to concatenate the value
in.

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody &
"'WHERE tblSMSchedule.c ntID =" & Forms!frmOEOrde r!ListSchedule

If the value is text instead of a number.

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody &
"'WHERE tblSMSchedule.c ntID =""" & Forms!frmOEOrde r!ListSchedule & """"

What you had would work well if you assigned it to the SQL property of a
stored query, then ran that.

--
Wayne Morgan
Microsoft Access MVP
"Dave Hopper" <da**********@d atelnet.co.uk> wrote in message
news:af******** *************** ***@posting.goo gle.com... Hi

I am using the following SQL to retrieve a value in a list box using a
unique ID held in the list box call cntID. The list box is used on an
order form to list appointments that have been made for service staff.

My problem is the SQL is not retrieving the value of the listbox. I
have tested the SQL by entering a fixed value of a valid entry in the
listbox and it works fine, but as soon as I replace the fixed value
with (Forms!frmOEOrd er!ListSchedule ) it fails to pick up anything. I
have a feeling that I need to address the row in the list box and then
loop through all the entries, but I don't know the syntax

This is the SQL

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)

What am I doing wrong ?

Dave Hopper

Nov 13 '05 #3
"Wayne Morgan" <co************ *************** @hotmail.com> wrote in message news:<qI******* **********@news svr19.news.prod igy.com>...
str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)


First, a couple of questions. Is the form frmOEOrder open when you try to do
this and is ListSchedule a multiselect listbox?

Assuming yes and no respectively above, then try to concatenate the value
in.

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody &
"'WHERE tblSMSchedule.c ntID =" & Forms!frmOEOrde r!ListSchedule

If the value is text instead of a number.

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody &
"'WHERE tblSMSchedule.c ntID =""" & Forms!frmOEOrde r!ListSchedule & """"

What you had would work well if you assigned it to the SQL property of a
stored query, then ran that.

--
Wayne Morgan
Microsoft Access MVP
"Dave Hopper" <da**********@d atelnet.co.uk> wrote in message
news:af******** *************** ***@posting.goo gle.com...
Hi

I am using the following SQL to retrieve a value in a list box using a
unique ID held in the list box call cntID. The list box is used on an
order form to list appointments that have been made for service staff.

My problem is the SQL is not retrieving the value of the listbox. I
have tested the SQL by entering a fixed value of a valid entry in the
listbox and it works fine, but as soon as I replace the fixed value
with (Forms!frmOEOrd er!ListSchedule ) it fails to pick up anything. I
have a feeling that I need to address the row in the list box and then
loop through all the entries, but I don't know the syntax

This is the SQL

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "'WHERE tblSMSchedule.c ntID = (Forms!frmOEOrd er!ListSchedule )"
DoCmd.RunSQL (str)

What am I doing wrong ?

Dave Hopper


Thanks to both of you. Linda, your code really helped me, but! ...

it won't loop through each entry in the lsit box(or indeed return any
entry) unless you highlight it. I am now finding the correct number
of appointments in the tblSMSchedule though, so thats a bonus!

I thought it maybe useful to bullet point what I am trying to do.

I am running this code to update an MS Access table (tblSMSchedule)
with appointments from a Public Folder calendar in an on-open form
event. If an appointment has been deleted in the public folder, the
code deletes it (this works fine), if an appointment is updated the
code finds the appointment associated with the order and updates it
(doesn't work fine!). With the latter, it appears to find the correct
appointment, but because I can't retrieve the assocociated unique ID
(cntID)in the list box, it either doesn't update any entry, or updates
an entry only if it's highlighted.

So, I am pretty sure that the code is finding the correct data and
wants to write it, it just can't find the unique ID (cntID) in the
list box to write it too.

I have posted all my code including your snippet, so you can see whats
going on.

Any ideas' ?

Kind regards

Dave

Option Compare Database

Public Function ImportAppointme ntsTest()

Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

Dim Prop As Outlook.UserPro perty

Dim objOL As New Outlook.Applica tion
Dim objNS As Outlook.NameSpa ce
Dim strFind As String
Dim objCalFolder As Outlook.mapiFol der
Dim AllPublicFolder s As Outlook.mapiFol der
Dim MyPublicFolder As Outlook.mapiFol der
Dim colCalendar As Outlook.Items
Dim objAppt As Outlook.Appoint mentItem

Dim db As Database
Dim rsAppointmentsR ecords As Recordset
Dim str As String
Dim TableName As String

Set db = CurrentDb

Dim myOlApp
Dim mNameSpace

Dim MyItem
Dim strMsg

Dim strPublicFolder
Dim strSubject
Dim strStart
Dim strEnd
Dim strBody
Dim strLocation
Dim strRequiredAtte ndees
Dim strCategories
Dim strBillingInfor mation
Dim strShow
Dim strUniqueID

Dim val As Integer, i As Integer
Dim ctl As Control
Const olAppointmentIt em = 1

strPublicFolder = ("Office")

If Len(strPublicFo lder) > 0 Then

Set objOL = CreateObject("O utlook.Applicat ion")
Set mNameSpace = objOL.GetNamesp ace("MAPI")
Set objCalFolder = mNameSpace.Fold ers("Public Folders")
Set AllPublicFolder s = objCalFolder.Fo lders("All Public Folders")
Set MyPublicFolder = AllPublicFolder s.Folders("Offi ce")
Set colCalendar = MyPublicFolder. Items

strFind = "[Billinginformat ion] = " &
Forms!frmOEOrde r!txtOrderNumbe r & ""
strShow = "" & Forms!frmOEOrde r!txtOrderNumbe r & ""
Set objAppt = colCalendar.Fin d(strFind)
If objAppt Is Nothing Then

strSQL = "DELETE tblSMSchedule.s trOrderNumber FROM
tblSMSchedule WHERE tblSMSchedule.s trOrderNumber = '" & strShow & "'"
DoCmd.RunSQL strSQL

Else

Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

rst.MoveLast
rst.MoveFirst

Do Until rst.EOF

If rst(19) = strShow Then

With objAppt

strLocation = .Location
strSubject = .Subject
strStart = .Start
strBody = .Body

End With

Set ctl = Forms!frmOEOrde r!ListSchedule
For i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
Exit For
End If
Next i

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "' WHERE tblSMSchedule.c ntID = " & val
DoCmd.RunSQL (str)

End If

rst.MoveNext

Loop

rst.Close

db.Close

Set objOL = Nothing
Set objNS = Nothing
Set objCalFolder = Nothing
Set colCalendar = Nothing
End If
End If

End Function
Nov 13 '05 #4
Dave,

Option Compare Database
I recommend you add Option Explicit below this. That will force you to
declare your variables and help catch spelling errors.
Dim myOlApp
Dim mNameSpace

Dim MyItem
Dim strMsg

Dim strPublicFolder
Dim strSubject
Dim strStart
Dim strEnd
Dim strBody
Dim strLocation
Dim strRequiredAtte ndees
Dim strCategories
Dim strBillingInfor mation
Dim strShow
Dim strUniqueID These are all being declared as Variants since a type hasn't been specified.
strPublicFolder = ("Office")

If Len(strPublicFo lder) > 0 Then This will always be true. Since you're setting the value yourself to Office
just before the If statement, the length will be 6.
Dim rsAppointmentsR ecords As Recordset rst was Dim'ed as DAO.Recordset, but not this one.
Else

Set rst = CurrentDb.OpenR ecordset("tblSM Schedule") The recordset was opened prior to the If statement, so opening it again here
shouldn't do anything.
rst.MoveLast
rst.MoveFirst

Do Until rst.EOF You are moving prior to seeing if there is anything to move to. Also, I
don't see where you are doing anything that would require you to "fully
populate" the recordset before you begin the looping, so the 2 move
statements could probably be omitted. If a recordset has no records, then
rst.EOF and rst.BOF are both true. The next statement is the Do Until, if
there are no records, then you will be at EOF and the loop won't run, so the
check is accomplished here.
If rst(19) = strShow Then This is in the ELSE part of the If statement. However the value of strShow
is being set before the ELSE; therefore, strShow = "", since the first part
of the If would not have been executed if you are in the ELSE part.
Set ctl = Forms!frmOEOrde r!ListSchedule
For i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
Exit For
End If
Next i This will set the value of val and abort when the first selected item in the
listbox is found. I don't see where you are selecting/deselecting items, so
if you go through this again in the Do loop, it should set val to the same
value again.
rst.Close

db.Close Should be
rst.Close
Set rst = Nothing
Set db = Nothing

Also, you use CurrentDb to set rst, you set db to CurrentDb later then never
use it.
--
Wayne Morgan
Microsoft Access MVP
"Dave Hopper" <da**********@d atelnet.co.uk> wrote in message
news:af******** *************** ***@posting.goo gle.com...
Option Compare Database

Public Function ImportAppointme ntsTest()

Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

Dim Prop As Outlook.UserPro perty

Dim objOL As New Outlook.Applica tion
Dim objNS As Outlook.NameSpa ce
Dim strFind As String
Dim objCalFolder As Outlook.mapiFol der
Dim AllPublicFolder s As Outlook.mapiFol der
Dim MyPublicFolder As Outlook.mapiFol der
Dim colCalendar As Outlook.Items
Dim objAppt As Outlook.Appoint mentItem

Dim db As Database
Dim rsAppointmentsR ecords As Recordset
Dim str As String
Dim TableName As String

Set db = CurrentDb

Dim myOlApp
Dim mNameSpace

Dim MyItem
Dim strMsg

Dim strPublicFolder
Dim strSubject
Dim strStart
Dim strEnd
Dim strBody
Dim strLocation
Dim strRequiredAtte ndees
Dim strCategories
Dim strBillingInfor mation
Dim strShow
Dim strUniqueID

Dim val As Integer, i As Integer
Dim ctl As Control
Const olAppointmentIt em = 1

strPublicFolder = ("Office")

If Len(strPublicFo lder) > 0 Then

Set objOL = CreateObject("O utlook.Applicat ion")
Set mNameSpace = objOL.GetNamesp ace("MAPI")
Set objCalFolder = mNameSpace.Fold ers("Public Folders")
Set AllPublicFolder s = objCalFolder.Fo lders("All Public Folders")
Set MyPublicFolder = AllPublicFolder s.Folders("Offi ce")
Set colCalendar = MyPublicFolder. Items

strFind = "[Billinginformat ion] = " &
Forms!frmOEOrde r!txtOrderNumbe r & ""
strShow = "" & Forms!frmOEOrde r!txtOrderNumbe r & ""
Set objAppt = colCalendar.Fin d(strFind)
If objAppt Is Nothing Then

strSQL = "DELETE tblSMSchedule.s trOrderNumber FROM
tblSMSchedule WHERE tblSMSchedule.s trOrderNumber = '" & strShow & "'"
DoCmd.RunSQL strSQL

Else

Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

rst.MoveLast
rst.MoveFirst

Do Until rst.EOF

If rst(19) = strShow Then

With objAppt

strLocation = .Location
strSubject = .Subject
strStart = .Start
strBody = .Body

End With

Set ctl = Forms!frmOEOrde r!ListSchedule
For i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
Exit For
End If
Next i

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "' WHERE tblSMSchedule.c ntID = " & val
DoCmd.RunSQL (str)

End If

rst.MoveNext

Loop

rst.Close

db.Close

Set objOL = Nothing
Set objNS = Nothing
Set objCalFolder = Nothing
Set colCalendar = Nothing
End If
End If

End Function

Nov 13 '05 #5
"Wayne Morgan" <co************ *************** @hotmail.com> wrote in message news:<JN******* ********@newssv r16.news.prodig y.com>...
Dave,

Option Compare Database

I recommend you add Option Explicit below this. That will force you to
declare your variables and help catch spelling errors.
Dim myOlApp
Dim mNameSpace

Dim MyItem
Dim strMsg

Dim strPublicFolder
Dim strSubject
Dim strStart
Dim strEnd
Dim strBody
Dim strLocation
Dim strRequiredAtte ndees
Dim strCategories
Dim strBillingInfor mation
Dim strShow
Dim strUniqueID

These are all being declared as Variants since a type hasn't been specified.
strPublicFolder = ("Office")

If Len(strPublicFo lder) > 0 Then

This will always be true. Since you're setting the value yourself to Office
just before the If statement, the length will be 6.
Dim rsAppointmentsR ecords As Recordset

rst was Dim'ed as DAO.Recordset, but not this one.
Else

Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

The recordset was opened prior to the If statement, so opening it again here
shouldn't do anything.
rst.MoveLast
rst.MoveFirst

Do Until rst.EOF

You are moving prior to seeing if there is anything to move to. Also, I
don't see where you are doing anything that would require you to "fully
populate" the recordset before you begin the looping, so the 2 move
statements could probably be omitted. If a recordset has no records, then
rst.EOF and rst.BOF are both true. The next statement is the Do Until, if
there are no records, then you will be at EOF and the loop won't run, so the
check is accomplished here.
If rst(19) = strShow Then

This is in the ELSE part of the If statement. However the value of strShow
is being set before the ELSE; therefore, strShow = "", since the first part
of the If would not have been executed if you are in the ELSE part.
Set ctl = Forms!frmOEOrde r!ListSchedule
For i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
Exit For
End If
Next i

This will set the value of val and abort when the first selected item in the
listbox is found. I don't see where you are selecting/deselecting items, so
if you go through this again in the Do loop, it should set val to the same
value again.
rst.Close

db.Close

Should be
rst.Close
Set rst = Nothing
Set db = Nothing

Also, you use CurrentDb to set rst, you set db to CurrentDb later then never
use it.
--
Wayne Morgan
Microsoft Access MVP
"Dave Hopper" <da**********@d atelnet.co.uk> wrote in message
news:af******** *************** ***@posting.goo gle.com...

Option Compare Database

Public Function ImportAppointme ntsTest()

Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

Dim Prop As Outlook.UserPro perty

Dim objOL As New Outlook.Applica tion
Dim objNS As Outlook.NameSpa ce
Dim strFind As String
Dim objCalFolder As Outlook.mapiFol der
Dim AllPublicFolder s As Outlook.mapiFol der
Dim MyPublicFolder As Outlook.mapiFol der
Dim colCalendar As Outlook.Items
Dim objAppt As Outlook.Appoint mentItem

Dim db As Database
Dim rsAppointmentsR ecords As Recordset
Dim str As String
Dim TableName As String

Set db = CurrentDb

Dim myOlApp
Dim mNameSpace

Dim MyItem
Dim strMsg

Dim strPublicFolder
Dim strSubject
Dim strStart
Dim strEnd
Dim strBody
Dim strLocation
Dim strRequiredAtte ndees
Dim strCategories
Dim strBillingInfor mation
Dim strShow
Dim strUniqueID

Dim val As Integer, i As Integer
Dim ctl As Control
Const olAppointmentIt em = 1

strPublicFolder = ("Office")

If Len(strPublicFo lder) > 0 Then

Set objOL = CreateObject("O utlook.Applicat ion")
Set mNameSpace = objOL.GetNamesp ace("MAPI")
Set objCalFolder = mNameSpace.Fold ers("Public Folders")
Set AllPublicFolder s = objCalFolder.Fo lders("All Public Folders")
Set MyPublicFolder = AllPublicFolder s.Folders("Offi ce")
Set colCalendar = MyPublicFolder. Items

strFind = "[Billinginformat ion] = " &
Forms!frmOEOrde r!txtOrderNumbe r & ""
strShow = "" & Forms!frmOEOrde r!txtOrderNumbe r & ""
Set objAppt = colCalendar.Fin d(strFind)
If objAppt Is Nothing Then

strSQL = "DELETE tblSMSchedule.s trOrderNumber FROM
tblSMSchedule WHERE tblSMSchedule.s trOrderNumber = '" & strShow & "'"
DoCmd.RunSQL strSQL

Else

Set rst = CurrentDb.OpenR ecordset("tblSM Schedule")

rst.MoveLast
rst.MoveFirst

Do Until rst.EOF

If rst(19) = strShow Then

With objAppt

strLocation = .Location
strSubject = .Subject
strStart = .Start
strBody = .Body

End With

Set ctl = Forms!frmOEOrde r!ListSchedule
For i = 0 To ctl.ListCount - 1
If ctl.Selected(i) Then
val = ctl.Column(0, i)
Exit For
End If
Next i

str = "UPDATE tblSMSchedule SET tblSMSchedule.s trNotes = '" & strBody
& "' WHERE tblSMSchedule.c ntID = " & val
DoCmd.RunSQL (str)

End If

rst.MoveNext

Loop

rst.Close

db.Close

Set objOL = Nothing
Set objNS = Nothing
Set objCalFolder = Nothing
Set colCalendar = Nothing
End If
End If

End Function


thx for your response Wayne

I'm new to this, but I understand where you are coming from.

I'm not sure you answered my question though ...I still can't retrieve
a value from a list box and I need to do this to loop through all the
appointments.

How do I get this value ?

Dave
Nov 13 '05 #6
> I'm not sure you answered my question though ...I still can't retrieve
a value from a list box and I need to do this to loop through all the
appointments.

How do I get this value ?

Dave


with a multiselect listbox, you have to loop through the ItemsSelected collection.

Dim frm As Form, ctl As Control
Dim varItem As Variant
Dim strSQL As String

Set frm = Form!frmMyForm
Set ctl = frm!lbMultiSele ctListbox
strSQL = "Select * from Employees where [EmpID]="
'Assuming long [EmpID] is the bound field in lb
'enumerate selected items and
'concatenate to strSQL
For Each varItem In ctl.ItemsSelect ed
'---PROCESS EACH SELECTED ITEM HERE...
Call MessWithValue ctl.ItemData(va rItem)
Next varItem
Nov 13 '05 #7

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

Similar topics

1
1788
by: Chris Shipley | last post by:
I am trying to present a list of links on a page (Form) where each link opens a different picture gallery. I have the Form page which contains the links, a Gallery page, and several include files. Each include file displays a different gallery. Clicking on a link submits a value identifying the chosen gallery to the Gallery page. The Gallery...
8
11585
by: asd | last post by:
I need to find the value/index of the previously selected item of a select list. That is, when the user selects an item from the list and a certain condition elsewhere in the form is not met, I need to display an alert box warning the user that a selection cannot be made, and redisplay the item that was previously selected. What is the most...
6
5839
by: yasodhai | last post by:
Hi, I used a dropdown control which is binded to a datagrid control. I passed the values to the dropdownlist from the database using a function as follows in the aspx itself. <asp:DropDownList ID="FldType_add" Runat="server" DataSource='< %#GetFieldType()%>' DataValueField="Type" DataTextField="Type" /> Oce the page is loaded all the...
7
1553
by: rodrigo | last post by:
How would I go about retrieving a variable's name (not its value)? I want to write a function that, given a list of variables, returns a string with each variable's name and its value, like: a: 100 b: 200 I get the feeling this is trivial, but I have been unable to find an answer on my own.
9
9906
by: ajos | last post by:
Hello friends, After thinking about this for sometime, i decided to post this in the java forum. Well my problem here in detail is, i have 3 jsp pages where in a.jsp(for example) i have a combo box, based on the selection of the value in that combo box, b.jsp page gets populated with the value associated to a.jsp, and again based on the...
9
35373
ADezii
by: ADezii | last post by:
One question which pops up frequently here at TheScripts is: 'How do I retrieve data from a Recordset once I've created it?' One very efficient, and not that often used approach, is the GetRows() Method of the Recordset Object. This Method varies slightly from DAO to ADO, so for purposes of this discussion, we'll be talking about DAO Recordsets....
3
43416
ADezii
by: ADezii | last post by:
Last Tip, we demonstrated the technique for retrieving data from a DAO Recordset, and placing it into a 2-dimensional Array using the GetRows() Method. This week, we will cover the same exact Method (GetRows()), but only as it applies to an ADO Recordset. Although there are similarities in the 2 methodologies, the ADO Method offers 2 more Optional...
1
4426
by: fidgen | last post by:
Hiya, I'm trying to get a AJAX driven update to my list of news articles, so when users click the title of the news article, it pops up the article content in a thickbox overlay. Retrieving content from the database via AJAX is no problem, that works and thickbox works too, I'm just having problems getting them both running together! It...
0
7473
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
7406
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
7660
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. ...
0
5976
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...
1
5337
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4949
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...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1888
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
0
709
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.