473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Change me.sourceobject

in access 97
on form open i have :

Me!frmContent.SourceObject = "frmabout"
Me!frmmenustart.SourceObject = "frmmenuaanmelden"
'"frmmainmenulist"

where frmcontent and frmmenustart are two subforms on a frmmain (main
form)

But i would like

Me!frmContent.SourceObject = "frmabout"
Me!frmmenustart.SourceObject = "frmmenuaanmelden"
'"frmmainmenulist"

(and after about 3 seconds)

Me!frmContent.SourceObject = "frmstartwork"

i tried it with a loop that holds up the frmworkstart and the doevents
between the code but it's no go.

Is there a solution or am i looking the wrong way?

Tx anyone, anywhere, anytime, anyhow
Nov 13 '05 #1
2 2838
Rog
Why not make frmAbout a separate form? You could build in a loop and
close it when the loop is done.

Nov 13 '05 #2
da*********@pandora.be (Peter D) wrote in
news:2f**************************@posting.google.c om:
in access 97
on form open i have :

Me!frmContent.SourceObject = "frmabout"
Me!frmmenustart.SourceObject = "frmmenuaanmelden"
'"frmmainmenulist"

where frmcontent and frmmenustart are two subforms on a
frmmain (main form)

But i would like

Me!frmContent.SourceObject = "frmabout"
Me!frmmenustart.SourceObject = "frmmenuaanmelden"
'"frmmainmenulist"

(and after about 3 seconds)

Me!frmContent.SourceObject = "frmstartwork"

i tried it with a loop that holds up the frmworkstart and the
doevents between the code but it's no go.

Is there a solution or am i looking the wrong way?

Tx anyone, anywhere, anytime, anyhow

Use the timer event of the form. In design mode set the timer
value to 3000 (milliseconds)
In the On Timer event set that value to 0, which turns off the
timer, then set your new subform, You may need to do a me.refresh
to see the update.

--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #3

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

Similar topics

2
by: cbielich | last post by:
I would like to be able to create a form were when clicking a button only part of the form is changed. Like a web browser has the ability to have another browser within it to be changed while the...
3
by: Nathan Bloomfield | last post by:
Hello, I have just changed some functionality in a form which has totally screwed up the subform. form: subfrmLoadsheets subform: subfrmLoadsheetsEquipment (Child/Master - TransactionID) ...
4
by: Peter D | last post by:
In Access 97 I use Forms!Frmmain!Frmcontainer.sourceobject = "FrmWhateverform" So I don't close forms, i just change the frmcontainer's source. Is there something similar in VB.net? And how does...
9
by: robert d via AccessMonster.com | last post by:
I'm not sure why the following isn't working. The subform loads correctly, but no data is displayed. I'm certain that there is data and I have checked that the SQL statement does in fact return...
4
by: joanWilder | last post by:
Hello. I am using MS Access 97 at work and trying to do the following... I have a main form which has several combo boxes, 2 buttons (search and refresh) and an unbound subform on it. This form...
5
by: sparks | last post by:
I have a form that is broken down into 24 sub forms. these are all tied to one subform, they are filtered based on other things. But I need to change the sub forms source object based on a...
9
by: frys | last post by:
Access 2003 Windows XP I have a form that is for tracking attendance at programs. the main form is the program information, and the sub form is the attendance information. I have 5 homes...
3
Breezwell
by: Breezwell | last post by:
First off, let me say that this forum has provided me with numerous guidance to Access programming challenges I have faced while learning, and I am grateful to all those who share thier knowledge...
3
by: Simon van Beek | last post by:
Dear reader, How to change the RecordSource for a subReport. For forms the syntaxes is:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.