473,467 Members | 1,981 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Equivalent RunCommand for Records > Refresh?

I thought there was a RunCommand for every possible menu option.
I have a situation where a dropdown in a subform is often not showing
its value until I select Records Refresh. What is the equivalent VBA
code?
acCmdRefresh and acCmdRefreshPage don't work.
combobox.Requery works, but seems overkill.

Thanks,

-Tom.

Jul 16 '06 #1
2 4389
Tom van Stiphout <no*************@cox.netwrote in
news:8r********************************@4ax.com:
I thought there was a RunCommand for every possible menu option.
I have a situation where a dropdown in a subform is often not
showing its value until I select Records Refresh. What is the
equivalent VBA code?
acCmdRefresh and acCmdRefreshPage don't work.
combobox.Requery works, but seems overkill.
The Me.Refresh of the subform?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jul 16 '06 #2
On Sun, 16 Jul 2006 06:41:18 -0500, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:

Thanks. That's what I ended up using.
-Tom.

>Tom van Stiphout <no*************@cox.netwrote in
news:8r********************************@4ax.com :
>I thought there was a RunCommand for every possible menu option.
I have a situation where a dropdown in a subform is often not
showing its value until I select Records Refresh. What is the
equivalent VBA code?
acCmdRefresh and acCmdRefreshPage don't work.
combobox.Requery works, but seems overkill.

The Me.Refresh of the subform?
Jul 17 '06 #3

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

Similar topics

1
by: 2obvious | last post by:
Despite my best efforts, I cannot prevent bogus duplicate records in my database. I have a routine that compares against similarities, presenting an alert page with examples when there is a...
3
by: CSDunn | last post by:
Hello, I have an Access 2000 Project in which the data comes from a SQL Server 2000 database, and multiple users need to be able to see new records as each user adds records. The users also need...
7
by: Juan Romero | last post by:
Hey guys, please HELP I am going nuts with the datagrid control. I cannot get the damn control to refresh. I am using soap to get information from a web service. I have an XML writer output...
12
by: Iddo | last post by:
Hi, I am having a strange problem... I have an HTML file which has 2 script tags: 1) <script language="javascript" id="ABC" src="ABC.js" /> 2) <script id="general" language="javascript">...
1
by: 12jumper | last post by:
Hi All :) I've created an UserControl, which has a couple of properties that are collections (generic lists of some objects). It would be nice, if control refreshed each time I add a new item to...
7
jeremydowe
by: jeremydowe | last post by:
Hi, I know this may sound unnecessary, but I want to refresh the page anytime the user resize's their browser window. I have some code which I found that get's the browser's width dimension. ...
1
by: sweetpotatop | last post by:
Hi, I got an pop-up error when I tried to run my window application. However, I have no idea which line of code is causing the problem. Is there a way to figurate that out? In VB, when I do...
1
by: Fabio Mastria | last post by:
Hi having a DataTable with 15 records, used as DataSource of a GridView enabled to manage page of 10 rows, if I click on the second page, I can't see the next records after firsts 10! I...
3
by: neelsfer | last post by:
If i use the code below to get the number of records in a subform , and i also use DoCmd.RunCommand acCmdRefresh to refresh screen, then the application stops working (the cursor never stops...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.