473,377 Members | 1,119 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,377 software developers and data experts.

say what???

>From Microsoft Office 2000/Visual Basic Programmer's Guide

Choosing ADO or DAO for Working with Access Databases
-------------------------------------------------------------------

"When you use the Recordset property to set the Recordset object of a
Form object to a Recordset object you created, if you set the Form
object to an ADO Recordset object, the data will be read-only. If you
want the data to be writable, you must set the Form object to a DAO
Recordset object."

Can anybody translate this into english please?

http://msdn.microsoft.com/library/de...sdatabases.asp

Nov 13 '05 #1
6 1586
"timster" <ti********@sd-partners.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
From Microsoft Office 2000/Visual Basic Programmer's Guide


Choosing ADO or DAO for Working with Access Databases
-------------------------------------------------------------------

"When you use the Recordset property to set the Recordset object of a
Form object to a Recordset object you created, if you set the Form
object to an ADO Recordset object, the data will be read-only. If you
want the data to be writable, you must set the Form object to a DAO
Recordset object."

Can anybody translate this into english please?

http://msdn.microsoft.com/library/de...sdatabases.asp


I would have guessed that if you don't understand it then it means you don't
need to. The only time this might affect you is if you write VBA code for
your forms and programmatically create a recordset which you assign to a
form - a technique which is probably not as common as setting the
recordsource property.
Anyway, there are two different object libraries for working with data - DAO
and ADO and both of these libraries contain a recordset object. In other
words you could create two different types of recordsets: a DAO.Recordset or
a ADO.Recordset. For a wide range of tasks, either type would do, but not
if you want it to be used as the recordset of an updateable form. In this
particular case, you have to use a DAO.Recordset since the ADO.Recordset
won't let you edit the data - a pretty serious disadvantage for ADO
recordsets.
Nov 13 '05 #2
Thanks Justin,
I finally understood it on the 5th time of reading!

Nov 13 '05 #3
Translation:

"When you set the Recordset property of a Form object
to a DAO Recordset you created, the data will be readonly.
If you want to modify the data, you must use an
ADO Recordset instead."

Regards,
Enrique

Nov 13 '05 #4
<en***@online.no> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Translation:

"When you set the Recordset property of a Form object
to a DAO Recordset you created, the data will be readonly.
If you want to modify the data, you must use an
ADO Recordset instead."

Regards,
Enrique


Whoa... that's not what it says.

Nov 13 '05 #5
Justin Hoffman wrote:
"timster" <ti********@sd-partners.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
From Microsoft Office 2000/Visual Basic Programmer's Guide
Choosing ADO or DAO for Working with Access Databases
-------------------------------------------------------------------

"When you use the Recordset property to set the Recordset object of a Form object to a Recordset object you created, if you set the Form
object to an ADO Recordset object, the data will be read-only. If you want the data to be writable, you must set the Form object to a DAO
Recordset object."

Can anybody translate this into english please?

http://msdn.microsoft.com/library/de...sdatabases.asp
I would have guessed that if you don't understand it then it means you don't need to. The only time this might affect you is if you write VBA code for your forms and programmatically create a recordset which you assign to a form - a technique which is probably not as common as setting the
recordsource property.
Anyway, there are two different object libraries for working with data - DAO and ADO and both of these libraries contain a recordset object. In other words you could create two different types of recordsets: a DAO.Recordset or a ADO.Recordset. For a wide range of tasks, either type would do, but not if you want it to be used as the recordset of an updateable form. In this particular case, you have to use a DAO.Recordset since the ADO.Recordset won't let you edit the data - a pretty serious disadvantage for ADO
recordsets.

It would be except for one small thing:

It's not true.

ADO recordsets as form recordsets are editable in Access 2000. I know
this because I have done it.

And the myth that transactions cannot work with these is just that, a
myth. I know this because I have used them.

And yes, I have posted the code here in CDMA previously.

One of the first things one should learn about MS is that much of its
documentation is flawed.

Nov 13 '05 #6

<ly******@yahoo.ca> wrote in message
news:11********************@g14g2000cwa.googlegrou ps.com...
Justin Hoffman wrote:
"timster" <ti********@sd-partners.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
> >From Microsoft Office 2000/Visual Basic Programmer's Guide
>
> Choosing ADO or DAO for Working with Access Databases
> -------------------------------------------------------------------
>
> "When you use the Recordset property to set the Recordset object of a > Form object to a Recordset object you created, if you set the Form
> object to an ADO Recordset object, the data will be read-only. If you > want the data to be writable, you must set the Form object to a DAO
> Recordset object."
>
> Can anybody translate this into english please?
>
>

http://msdn.microsoft.com/library/de...sdatabases.asp

I would have guessed that if you don't understand it then it means

you don't
need to. The only time this might affect you is if you write VBA

code for
your forms and programmatically create a recordset which you assign

to a
form - a technique which is probably not as common as setting the
recordsource property.
Anyway, there are two different object libraries for working with

data - DAO
and ADO and both of these libraries contain a recordset object. In

other
words you could create two different types of recordsets: a

DAO.Recordset or
a ADO.Recordset. For a wide range of tasks, either type would do,

but not
if you want it to be used as the recordset of an updateable form. In

this
particular case, you have to use a DAO.Recordset since the

ADO.Recordset
won't let you edit the data - a pretty serious disadvantage for ADO
recordsets.

It would be except for one small thing:

It's not true.

ADO recordsets as form recordsets are editable in Access 2000. I know
this because I have done it.

And the myth that transactions cannot work with these is just that, a
myth. I know this because I have used them.

And yes, I have posted the code here in CDMA previously.

One of the first things one should learn about MS is that much of its
documentation is flawed.


Perhaps I should be more adventurous and check out some of these
undocumented features ... firstly this one, then I'll try overclocking my
processor to 3.8GHz adding extra cooling with a combination of vacuum
cleaner and fish tank spare parts.
Nov 13 '05 #7

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

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
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: 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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.