Solved

my 1'st  Q for Experts Only

Posted on 2001-06-09
3
139 Views
Last Modified: 2010-05-02
Dear experts;

I have a table(Authors: AuthorID/autnumber,AuthorName/ text).

In some forms I need to populate all authors in Data List combo box ordered by authorname. I do that by;

dim AuthRS as Adodb.recordset
set AuthRS = new adodb.recordset

Authrs.Open "Select * From Authors Order By AuthorName", _
        myConn,,adCmdText

set Combo1.RowSource=AuthRS

it works fine when the recordset cursor location is clientside, but the problem is my application is networkable and some workstation adding authors and the others use other forms that contains the desired combo box. if iam going to requery the recordset it will take a few seconds to repopulate the new data. Is there any way to keep my table dynamic to all users? if i use the serverside cursor location then the statement :
     Set Combo1.RowSource = AuthRS
will not work.

many thanks,
0
Comment
Question by:soso28
[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
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 25 total points
ID: 6170850
You need to refresh the recordset explicitly. VB won't do it for you. You normally fill combos when you open the form and you may offer a button to force the refresh of your controls if your data is volatile.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7133480
Hi soso28,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept emoreau's comment(s) as an answer.

soso28, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7167893
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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