473,396 Members | 2,108 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,396 software developers and data experts.

Databases and recordset

dfg
Hi. I am doing some basic database stuff - read, add, delete, change etc.

The database contains names.

One of the things I'm trying to do is whenever I delete an item from the
database is to show a message box with the the current name of the
record I'm deleting...Kinda like so:

intRetValue = MsgBox("Are you sure you want to delete " &
adSaleData.RecordSet.????? & " from the database?"

Any ideas?

Thanks.

Jul 17 '05 #1
2 1673
dfg
dfg wrote:

Any ideas?


Sorry guys, I figured it out.

Jul 17 '05 #2
JR
dfg <df*@dfg.net> wrote in message news:<YGDvb.454594$pl3.191261@pd7tw3no>...
Hi. I am doing some basic database stuff - read, add, delete, change etc.

The database contains names.

One of the things I'm trying to do is whenever I delete an item from the
database is to show a message box with the the current name of the
record I'm deleting...Kinda like so:

intRetValue = MsgBox("Are you sure you want to delete " &
adSaleData.RecordSet.????? & " from the database?"

Any ideas?

Thanks.

Put the name of the recordset followed by the column number where the
name is in your database.

example: msgbox namerecordset[4] => The fifth column value will
display his value now
Jul 17 '05 #3

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

Similar topics

1
by: Amit Kela | last post by:
Hey, I am getting the following error when I try to delete the contents of a recordset under a condition statement. Is there any way I can delete them without running into this error? I need to...
6
by: Willem | last post by:
Hi, I have a newbie question: is it possible to make a search form in asp that searches in two different databases (access)? Willem
6
by: Debbie Gilbert | last post by:
When running a report..I get the message "Cannot open any more databases." Run-time error 3048... Has anyone seen this message before?
16
by: Rob Geraghty | last post by:
I've just spent some time looking through FAQ sites and searching the google archives of this newsgroup, but I still haven't been able to find a clear explanation of an issue with multi-user...
15
by: Dave | last post by:
Has anyone encountered the error message "Can not open any more databases" and what did you do to solve it? Thanks, Dave
4
by: paii, Ron | last post by:
Are the following 2 bits of code equivalent. I want to use ws for transactions. Dim ws as Workspace Dim db as Database Dim rs as Recordset Set ws = DBEngine.Workspaces(0) Set db =...
24
by: Salad | last post by:
Every now and then I see ads that state something like "Experience with Large Databases ...multi-gig...blah-de-blah" And I have to laugh. What's the difference between a large or small database? ...
7
by: Altemir | last post by:
I want to create an UPDATE statement that updates a value in a table in database A based on the results of an inner join between tables each residing in deifferent databases. What is the correct...
10
by: TimSki | last post by:
Hi, We have been running a UNION queriy on our single db using an ADODB.recordset like this... OpenDataConnection() set rsID = CreateObject("ADODB.recordset") searchphrase = " SELECT t.* ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
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,...

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.