473,326 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

binding ado rs in Access 2000...

Can you bind ado recordsets to combo boxes and list boxes in Access 2000?

thanks

Matthew Wells
MW****@FirstByte.net
Mar 29 '06 #1
6 1537
Hi, Matthew.
Can you bind ado recordsets to combo boxes and list boxes in Access 2000?
No. You need to upgrade to a more recent version of Access for that
functionality.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"Matthew Wells" <MW****@FirstByte.net> wrote in message
news:s9*****************@newsread3.news.atl.earthl ink.net... Can you bind ado recordsets to combo boxes and list boxes in Access 2000?

thanks

Matthew Wells
MW****@FirstByte.net

Mar 29 '06 #2
Matthew Wells wrote in message
<s9*****************@newsread3.news.atl.earthlink. net> :
Can you bind ado recordsets to combo boxes and list boxes in Access 2000?

thanks

Matthew Wells
MW****@FirstByte.net


I think that functionality (the .recordset property of lists and
combos)
became available in the 2002 version.

--
Roy-Vidar
Mar 29 '06 #3
This is playing dirty, but you can set your row source type to "Value List"
and then loop your recordset to build a string representing the value data.

Last but not least assign the string value to the control.rowsource property
in code. Not sure, but there may be a limit as to how long that string can
be so watch out for that.

--
Jerry Boone
"Matthew Wells" <MW****@FirstByte.net> wrote in message
news:s9*****************@newsread3.news.atl.earthl ink.net...
Can you bind ado recordsets to combo boxes and list boxes in Access 2000?

thanks

Matthew Wells
MW****@FirstByte.net

Mar 29 '06 #4
Jerry Boone wrote in message <44**********************@news.hubris.net>
:
Not sure, but there may be a limit as to how long that string can
be so watch out for that.


For the 2000 version, that is 2048 characters. Later versions allow
32 750 characters.

--
Roy-Vidar
Mar 29 '06 #5
Yup. Only 2048. Good thing my contract is over. I hate 2000.

Thanks.

"Jerry Boone" <je***@gomaps.com.nospam> wrote in message
news:44**********************@news.hubris.net...
This is playing dirty, but you can set your row source type to "Value List" and then loop your recordset to build a string representing the value data.
Last but not least assign the string value to the control.rowsource property in code. Not sure, but there may be a limit as to how long that string can be so watch out for that.

--
Jerry Boone
"Matthew Wells" <MW****@FirstByte.net> wrote in message
news:s9*****************@newsread3.news.atl.earthl ink.net...
Can you bind ado recordsets to combo boxes and list boxes in Access 2000?
thanks

Matthew Wells
MW****@FirstByte.net


Mar 29 '06 #6
"Jerry Boone" <je***@gomaps.com.nospam> wrote in
news:44**********************@news.hubris.net:
This is playing dirty, but you can set your row source type to "Value
List" and then loop your recordset to build a string representing the
value data.

Last but not least assign the string value to the control.rowsource
property in code. Not sure, but there may be a limit as to how long
that string can be so watch out for that.


I think you can do the callback function stuff as demonstrated in GETZ
(see Access 2000 Dev Handbook, vol 1, pg 401 to get around the problems
associated with building up a string for the Value List.

Use the Getrows method to get the recordset's data into a Variant array:

dim rs as variant
dim adors as ADODB.Recordset
....
rs = adors.getrows

'this will need to be transposed, or you can just walk it in code, but
'the order is field x record...
Mar 30 '06 #7

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

Similar topics

2
by: gigi | last post by:
I have a strange problem with an OleDB call to a stored procedure that returns a rowset. Only the first time I execute the query, after I restart SqlServer, my program crashes because the rowset...
1
by: Johan Hellstrom | last post by:
Hi, Have installed the latest 8.1.4 fixpack for DB2 Connect EE/DB2 Application Development Client and am trying to access a DB2 OS/390 7.1.1 system. The binding process from Windows 2000: ...
7
by: PC Datasheet | last post by:
I have this: Dim Cbr As Object Dim Ctl As Object Set Cbr = Application.Commandbars("CourseCalendarMonth") Set Ctl = Application.Commandbars("CourseCalendarMonth").Controls("CalendarMonth") Is...
9
by: Zlatko Matić | last post by:
I was reading about late binding, but I'm not completely sure what is to be done in order to adjust code to late binding... For example, I'm not sure if this is correct: early binding: Dim ws...
2
by: Mystery Man | last post by:
We are developing a C# application that has many interfaces to the Microsoft suite (eg Word, Excel, Outlook, Powerpoint, etc). We need to support Office 97, 2000, 2002 and any future versions. ...
0
by: Frank S. Romano | last post by:
Hello, Does anyone know how to bind the image property of a picture control to an Access 2000 database OLE object column that contains a MS Photo Editor 3.0 photo? When I try binding the picture...
0
by: Rocio | last post by:
Here I go again. Some time ago I wrote a VB.NET web service application that called a COM object written in VB6 using late binding. It was the only way I could call this object (see my posting in...
1
by: Bruce | last post by:
Hi, there, I meet a problem about comboBox binding. -------------------- Database: Northwind Tables: 1) Products 2) Categories I create a form (named "form1") to edit the record from...
2
by: Ecohouse | last post by:
I've written a function to check emails in Outlook using Access which works. But I need to be able to have it work for different version of Outlook. I'm using Outlook 2002 and I need to also work...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.