Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open a Recordset

Posted on 1999-07-25
6
Medium Priority
?
228 Views
Last Modified: 2010-04-30
If i want to open a recordset,  which way works better in terms of performance, maintenance, accuracy and ease of programming

method 1
1. use data control

method 2
1.  open the recordset manually;for example
Dim MyRS as recordset
set MyRS = mydb.openrecordset("Table1")

the recordset record will be updated by user operation.

Thanks

chee
0
Comment
Question by:chee68
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:Edward98
ID: 1527360
Use method 2 it gives you more control when you use DAO.

0
 
LVL 2

Expert Comment

by:alokanant
ID: 1527361
hi edward98,
just to know why, can u please give more details, of why this is so.

alok.
0
 

Author Comment

by:chee68
ID: 1527362
Yes, i would like to know the reason behind as well.
Thanks

chee

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Expert Comment

by:Pfucci
ID: 1527363
you can buy commercial performance tools.  NuMega and Rational both make them, though rational's only works on NT.
0
 

Accepted Solution

by:
bja1 earned 30 total points
ID: 1527364
Personal preference would be through code it gives you a lot more options to manipulate data at a later date ie: you can bind data better through the code, execute SQL code through the coed using MyBD.Execute Sql (Sql=string)  But If you are using say a dbgrid then through simplicity I would go for the data control as you can edit any cell within the grid with automatic updates. simplicity=Data Control, Better performance=DAO
0
 

Author Comment

by:chee68
ID: 1527365
Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question