Solved

Refresh a datagrid that is bound to a Designer - DataEnvironment

Posted on 2004-04-06
4
457 Views
Last Modified: 2013-12-25
Help!!!!!!!!!!

I have a DataGrid that is set up in this manner:

Datasource:      DataFEBCO_Systems
Datamember:    Current_Bids

I created the DataEnvironment using:   Add - More AxtiveX Designers - DataEnvironment
Then I created the DEConnection:   dataFEBCO_Database with a DECommand,     Current_Bids
So the tree to the data looks like this:
     DataFEBCO_Systems (DataEnvironment)
     dataFEBCO_Database(DEConnection)
     Current_Bids(DECommand)

Question:  How do I refresh the DataEnvironment, DEConnection, or DECommand - so that when I refresh the DataGrid, it will display the changes made to the database?
Need this ASAP!! - Thanks in advance :)
0
Comment
Question by:CMHamrick
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:leonstryker
ID: 10765942
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 10766284
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 10766310
... and one more reason not to use DE. :)

Leon
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 10766339
Even if I'm not a fan of the DE, you would have the same problem using ADO objects!

You always need to refresh your ADO object before refreshing your GUI object!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now