recordset Questions

2

Take for example this code: sSQL = "select CtyMarket from Market where Country = '" & Country.Value & "'" Set rec = CurrentDb.OpenRecordset(sSQL) This statement can return more than one ...
Twitter asked 13/5, 2011 at 1:39

1

Solved

I seem to be clueless on this subject. I can attach an ADO recordset to a form, but I am not sure how to handle updates. I don't want to only UpdateBatch, I want to be able to detect what was chang...
Abram asked 12/4, 2011 at 21:18

2

Solved

I have a simple form, a query and a report in Access 2003. I have to manipulate the results from the query in a recordset using VBA and then pass it on to the report as its RecordSource. If I decl...
Address asked 15/11, 2010 at 13:36

2

Solved

I'm at a loss on how I can return a readable recordset from a function in classic ASP. This is what I came up with, but it's not working: Response.Clear Response.CharSet = "utf-8" Response.Conten...
Sealer asked 1/10, 2010 at 9:23

1

Solved

What to do to show DetailsView even when there is no data in underlying datasource? The problem is that when DetailsView is not visible, the command buttons are also not visible. So I can not inse...
Cynicism asked 20/8, 2010 at 12:13

1

Short question: I am finding I need to use MARS over ODBC but not over ADO/OLEDB, is that correct? Longer explanation: I just discovered my ODBC code (using "Driver={SQL Native Client}", MFC CDat...
Arronarrondissement asked 18/2, 2010 at 9:51

3

Solved

I'm building a data access layer in Excel VBA and having trouble returning a recordset. The Execute() function in my class is definitely retrieving a row from the database, but doesn't seem to be r...
Magnusson asked 17/3, 2010 at 14:51

1

Solved

I'm wrapping a java.sql.RecordSet inside a java.util.Iterator. My question is, what should I do in case any recordset method throws an SQLException? The java.util.Iterator javadoc explains which e...
Mckeever asked 27/2, 2010 at 10:21

1

Solved

I am in the process of migrating a legacy VB6 app to .Net, however since it is a high-profile business critical application, it is being done piece by piece. In the interest of improving performan...
Odette asked 22/2, 2010 at 7:18

3

Solved

My Java (JDK6) project uses Spring and JDBCTemplate for all its database access. We recently upgraded from Spring 2.5 to Spring 3 (RC1). The project does not use an ORM like Hibernate nor EJB. If ...
Ornithomancy asked 2/11, 2009 at 11:35

2

Solved

I wonder if someone can help: Long story short, I'm using MSSQL2005 to build a Pivot table. The data being examined is limited by date range (All data for 1 week starting from the nearest Monday to...
Tilla asked 2/11, 2009 at 15:42

2

I'm doing an ADODB recordset.open() command with an LDAP query to get all the users from my Active Directory. There are about 2600 users, but I'm only getting back 1000 of them. I've tried alter...
Ison asked 29/6, 2009 at 4:5

3

Solved

What is the fastest way to fill ListView from query when it has over 15000 lists with 9 subitems. it is taking me about 6 minute to load. Here is what I wrote to fill ListView control. Set rs = d...
Allwein asked 3/3, 2009 at 0:27

7

This is probably a beginner question, but how do you set a recordset to a string variable? Here is my code: Function getOffice (strname, uname) strEmail = uname WScript.Echo "email: " & s...
Hilariahilario asked 19/11, 2008 at 23:8

© 2022 - 2024 — McMap. All rights reserved.