Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Microsoft and Politics (ADO HELL)


Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2001, 11:49 AM
Medic Medic is offline
Junior Contributor
 
Join Date: Dec 1999
Location: California, USA
Posts: 220
Default Microsoft and Politics (ADO HELL)

Ok, I am really frustrated right now, and maybe all for nought! I would like to use DAO (not ADO) to work with existing dbase III files. In one of the forms that I would like to create, I am giving the end user (a Physical Therapist) the opportunitiy to fill out a form, which will later be printed. Depending on his client and the visit type the questions to be answered will vary in content and number. My boss has written this program already in Clipper, and we are just giving it a facelift. In his older program, he "browses" a filtered table to allow for the shrinking or growing of possible entries. A data bound flexgrid will do the trick, except that Microsoft has INTENTIONALLY made it impossible to write data to a dbase file in ADO, and the flexgrid (I think) only uses ADO. I could use a neat repeating control, but it would have to also be bound using (you guessed it) ADO. DAO 3.51 works extremely well for this taks and loads lightning quick (as opposed to the 5 second delay with the flexgrid or datagrid). I can use the flexgrid to VIEW the data, but it does not allow entry. Does anybody have any ideas about how to do this. I heard Microsoft may have added this feature back in newer releases of ADO, but I would like to stick with DAO since I have yet to be thrilled with the performance and overhead of ADO.

__________________
A computer program will always do what you tell it to do, but rarely what you want it to do.
Reply With Quote
  #2  
Old 08-28-2001, 11:54 AM
Volte's Avatar
Volte Volte is offline
Ultimate Contributor

Retired Leader
* Guru *
 
Join Date: Aug 2001
Posts: 5,341
Default Re: Microsoft and Politics (ADO HELL)

Well, for now you can stick with DAO, but when .NET comes out, Microsoft will be killing off DAO and doing only ADO. I personally prefer DAO, ADO is too complicated (i guess 'cause I learned DAO first). So if you plan to make this project a long term thing, you should do it with ADO.

Reply With Quote
  #3  
Old 08-28-2001, 12:08 PM
BillSoo's Avatar
BillSoo BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default Re: Microsoft and Politics (ADO HELL)

I'm no DB expert, but I was under the impression that DAO was specifically designed to work with ACCESS. That's why it is so fast. ADO was more general purpose which is why it works with DBIII (albeit slowly).



"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
  #4  
Old 08-28-2001, 12:36 PM
dcl3500's Avatar
dcl3500 dcl3500 is offline
Mostly Harmless?

Retired Moderator
* Expert *
 
Join Date: Jun 2001
Location: Western Illinois, USA
Posts: 2,398
Default Re: Microsoft and Politics (ADO HELL)

That is not true. DAO is not dead in .Net, just not updated any longer. It will still work just as it always has. Way too many of us still use it to completely abandon it. We should always remember that MS has basically always bent over backwards to support backwards compatiblity. So DAO will not go away anytime real soon.

Don

Time is the best teacher; unfortunately it kills all its students.
__________________
Don

"So long and thanks for all the fish.'" - Douglas Adams.
Reply With Quote
  #5  
Old 08-28-2001, 01:07 PM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default Re: Microsoft and Politics (ADO HELL)

It is true that the top of the line grid controls for both DAO (MSFlexGrid)
and ADO (MSHFlexGrid) are both read-only. It is also a fact that serious
database applications developers would never use a pure grid for updating
anthing more than the simplest of tables. The problems with this method
behind the scenes are so numerous it just isn't worth the hassle. On the
other hand, using a grid can be really nice to display a filtered set of rows
or even as part of an update screen where detail lines need to be added
for a parent record in a one to many entity/table relationship. For ADO,
I can use the MSHFlexGrid for lookup and the plain datagrid if I want to
edit detail records in a grid. I still am probably going to use a ADO
connection with SQL Insert/Update statements (or stored procedures) to
do the real database additions and changes.

There is no doubt that DAO is quickly going by the wayside and even ADO
will be old technology if and when .net comes out. Now is the time to get
up to speed on ADO and leave DAO (except for those few basic areas
where it just makes more sense to use DAO.)

I think therefore I am... sometimes right. [img]images/icons/wink.gif[/img]
__________________
Posting Guidelines
Reply With Quote
  #6  
Old 08-30-2001, 10:13 AM
Medic Medic is offline
Junior Contributor
 
Join Date: Dec 1999
Location: California, USA
Posts: 220
Default Re: Microsoft and Politics (ADO HELL)

The issue is not whether I am up to speed on ADO, the issue is the MS is NOT UP TO PAR on ADO. I CANNOT USE ADO in my app because it simply cannot do what I need it to do, which is write to dbase tables. They are easier to administer, easier to keep track of, and less inclined toward database bloat and many other problems, not to mention the program I am giving a "facelift" uses them. I Started out with ADO, and have used it in other apps, but this is not a candidate for it. I am interested in using a Grid Control and possibly making it "unbound", thus adding what I need to add in code. Any ideas!

__________________
A computer program will always do what you tell it to do, but rarely what you want it to do.
Reply With Quote
  #7  
Old 08-30-2001, 10:30 AM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default Re: Microsoft and Politics (ADO HELL)

I can't speak about working with dbase tables. If there is an odbc driver
for them then I would still use ADO. If not, then they are so obsolete that
it makes no sense for Microsoft or anyone else to bother trying to make a
new data access technology work with them. Ultimately, it all comes down
to economics.

I think therefore I am... sometimes right. [img]images/icons/wink.gif[/img]
__________________
Posting Guidelines
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:

Powered by liquidweb