Can the load order of subforms be changed?

I have a form with two subforms.  Subform A is a datasheet which has a Form_Current event which is suppose to call a subroutine in the main form, which in turn tries to change a control in Subform B.
However, on startup, Subform B has not loaded and an error occurs ("You entered an expression that has an invalid reference to the property Form/Report").
Is there a way that I can force Subform B to load before Subform A?
b.hata

Not that I know of. Trying to change this default behavior is a recipe for disaster.
You COULD have an error handler in that function that ignores the specific error because not there yet. Or you could re-think the whole thing and perhaps trigger it from the main form.
On rare occasion, and I am reluctant to even mention it, I would tick a 1 msec timer and upon Form_Timer do my thing. This event is pretty much guaranteed to happen AFTER everything is loaded and is settling down.
-Tom. Microsoft Access MVP
I have had situations in the past where things were working fine and then after some changes, I would get errors similar to my current database development problem.  Somehow the order of subform loading would change.  There must be something in
Access that determines the order in which subforms (and parent form) gets loaded.  I can't imagine it should matter to Access what the order would be.  I was hoping there was some way I could change it.
re: error handlers... I typically don't like to do much in error handlers.  I much prefer to prevent errors from happening in the first place, such as setting an "Initialization Flag" during Form_Open and testing it in "Form_Current".
re: timer... I wouldn't want to use Form_Timer as it is not full proof. 
b.hata

Similar Messages

  • Can the sd order generates the cs service order automaticlly?

    Hi,All
    I have a querry regarding the integration of sd and cs module.can the sd order generates the cs service order automaticlly?
    if can,how to set the sd order to actualize the function?
    thanks in advance!

    Hi,
    Actually in Case u r using repair order then
    U first create service notification IW51
    then u nned to create a repair order (Config setting is in SPRO --- Folowon actions in Service notifcation, fn modules assigned here)
    After u create a repair order
    U get repair service metrial via mat determination
    maintain in VB11 -- u nnede to maintain service product and task list for it and this linked to main tiem in mat det
    Now u get repair order with mat
    then do PGR via VRRE
    then u can goto sales order and rasie a service order...
    Customising maintained for Service order types in Customising
    U can run std in SAp and c , then check the  onfig settings
    Reward if useful
    Krishna

  • Dashboard Builder - sequencing the load order of content linked swfs?

    Hi,
    I don't think this is possible but wanted to throw it out there and see if anybody has some cunning tips on this subject...
    We have an InfoView Dashboard that houses 5 Xcelsius modules (swfs). There is a Header Sidebar (swf) that initialises and passes parms to 4 chart modules (swfs) using content linking. Everything works fine and as the selections in the header change, new parms are sent to the swfs which in turn change correctly.
    The issue we have is that the business would like everything to initialise with a starting view that contains data. This is not currently done because we cannot guarantee the order that the swfs load in and the 4 chart modules are dependant on the header. The user has to press refresh at the start to trigger the experience once the header has fully loaded.
    I'm going to play around with it and will report back with my findings but if anybody has a technique for ensuring child modules are loaded automatically on load AFTER the parent module has gotten its data back and passed the content linked parms, please let me know. Or if there is a way to order (or daisychain) the loading of modules please share this.
    Cheers,
    Lee

    Hi Tracy thanks for your replies.  I found somebody to help me on getacoder.com - this code works perfectly.
    The flex code:
    <mx:Script>
    <![CDATA[
    public function FromSwf1(value:String):void
    swfLoader.source = value;
    public function FromSwf2(value:String):void
    swfTeacher.source = value;
    ]]>
    </mx:Script>
    The AS3 code:
    var flexApp = root.parent.parent['parentApplication'];
    btn1.addEventListener(MouseEvent.CLICK, CallFlexFunction);
    //stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
    function CallFlexFunction(e:MouseEvent) {
    flexApp.FromSwf1("assets/ninos/alphabet.swf");
    btn2.addEventListener(MouseEvent.CLICK, CallFlexFunction2);
    //stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
    function CallFlexFunction2(e:MouseEvent) {
    flexApp.FromSwf2("assets/ninos/clase_de_ninos.swf");

  • Customize the load order of symbols

    Hey everyone!
    I have a question that after search the forum could not find an answer to. So I decided to make a new post
    I am working on a rather large edge animation, and so far it all looks and renders real nice. What it is is a web banner with a pretty cool background, and part of the background my friend took into after effects for me and added some animation to it. Then he rendered it out as a jpeg sequence and I imported the sequence as a symbol. I then used the time line to hide and show each image according to the after effects frame rate so in the broswer it looks like an "animated" jpeg But it is really just being cycled by the "hide" and "show" element functions.
    This effect looks very nice, and doesn't take too long to load, however one problem I do have is that when a user loads the banner the website will first load the images before loading the background. Which isn't a big deal for fast connections, but for slow connections it takes roughtly 8 to 10 seconds to load the images and then the background loads behind them.
    So my question is there any way to change the order which the symbols load? I want to make it so that the background loads first and then the symbol holding the jpeg sequence loads infront of it. Does anyone know if this is possible?
    Thank you so much for any help!

    Oh, I also wanted to add that I am aware that edge animate uses the $(document).ready(function() to delay the loading of certain events. However that seems to render the code as soon as a symbol is recognized by the broser, instead of after all images (the background and other small elements) are loaded.
    Do anyone know of anything equivelant to the "$(window).load(function()" that will work in edge animate? Thanks for your help!

  • Can the time capsule hard drive be changed?

    Can the hard drive in a time capsule be swapped out for a larger one?

    SimonTemplar wrote:
    What size and type hard drive does the TC use?  A,lso, does it need any special setup prior to installation in the TC?
    The TC uses a standard 3.5" SATA drive..
    It is usually a green drive.. WD often being used.. standard WD green drive.. but they use SAMSUNG and have used Hitachi, although I haven't seen them lately. Mostly it is WD.
    See the pics.. http://www.anandtech.com/show/4577/airport-extreme-5th-gen-and-time-capsule-4th- gen-review-faster-wifi-/4
    Size is depending on what you buy.. now they are 2TB for reasonable price and 3TB for absolute rip off price.. there is no improvement to the 3TB model. So don't buy it.. unless you have excess money.
    The use of solid state drive .. SSD in the TC would be pointless.. it is slow.. even a 7200rpm drive gains very little.. read the review where they tested a ssd in the TC.
    It is designed for back of laptops where wireless speeds are the rate determining step.. a slow green drive is more than fast enough and produces less heat, although this is marginal.
    When you upgrade the drive.. you can either just put it in the TC, then erase the drive from the airport utility. It will be formatted HFS+ with one large space and a few small partitions for local use. So no drive preparation is necessary.
    But you can plug the HDD into the computer using a usb to sata cable.. or whatever other access you have, and partition the drive beforehand.. this is the only way to partition a TC.
    Use HFS+ with GUID type drive. The partitioned drive will work fine in the TC.. the small extra partitions needed by the TC will be added when you first boot it.

  • HT4623 my iphone 4s does not install the new software. i can only see the apple logo and the loading-bar, which does not change at all. how can i fix that?

    hi!
    can somebody please help me?
    i wanted to update my iphone 4s to ios6. no problems until the install/loading bar appeared on the iphone. that was 2 hours ago. nothing happened there is no progress being showed.
    i also reset my iphone (home button + standby button). result: the apple logo and the bar appear, but still nothing happens...
    thanks for helping!
    kr,
    clemulus

    I took my phone to apple they replaced the speaker. That corrected the problem

  • Can't load websites; unable to make changes in Networks

    Dear all
    I am using a 2.5 yr old MacBook 2Ghz, and have had very few problems during this time. Recently however, I have been unable to connect to the internet. Airport is receiving a full signal but websites fail to load. When looking under System Preferences -> Network, I am unable to make any changes as the following message appears: "Another application has altered your connection settings". I cannot get rid of this message, nor navigate the Network settings and have to Force Quit System Preferences to close it! Could someone pls advise? Any help gratefully received!
    Many thanks
    Charlie

    I am also having this problem, and have been for some time. Look forward to seeing if anyone can answer this. :\

  • Can the colour of a highlighter be changed?

    hi,
    I am using few highlighters to display text in different colours in a JTextArea. I would like to change the colour of a highlighter based on the colour chosen from a JColorChooser. Is this possible?
    Thanks
    ramya

    You can't change the color of existing highlights. You'll have to replace each highlight with a new one using the new HighlightPainter. You can do that with the Highlighter methods getHighlights(), removeHighlight() or removeAllHighlights(), and addHighlight().

  • Controlling the load order of swfs in a HTML document

    Hi all I have a document containing multiple swfs. Is there
    anyway I can control which swf loads first etc. Obvisouly it would
    start from which ever one is higher in the HTML document.
    However I would like to control what loads first, also can
    this be done with the images in the document?
    Any help is much appreciated.

    In your web.xml, under the servlet tag, make A.jsp be loaded the first, at your web app 's startup:
    <jsp-file>A.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    ...

  • Can the music in iMovies trailer be changed?

    I am using the imovies trailer but i really want to change the music. Does anyone know how to change the music?

    If you choose File>Convert Trailer to Movie, you'll be able to edit or delete all the individual elements including music.
    Then you can just drag in your replacement music.
    Matt

  • Can the Mail App color scheme be changed in Yosemite

    Can you change the color scheme/theme in Yosemite Mail app?  If yes, how do your do this.

    The answer is "Sort of."
    You can set Mail to automatically delete *every message retrieved from Hotmail* into Mail after the specified time period, so that the copy retrieved into (Apple) Mail is _the only_ copy.
    Then, when you delete the retrieved Hotmail message from Mail, it's gone. But (depending on the timeframe you select) it was already gone from Hotmail, just by retrieving it into Mail.
    1) In Mail, Preferences, select the Hotmail account.
    2) In the Advanced tab, check 'Remove copy from server after retrieving a message'
    and then the additional option *Immediately, After one day, After one week, or After one month.*
    3) Note that only messages coming into the Hotmail Inbox are retrieved and then removed. If you have set filters in Hotmail to put specified messages into Hotmail folders, they will NOT be retrieved into Mail.
    4) Messages that Hotmail puts into the Hotmail Junk folder are NOT retrieved into the Mail junk folder either.
    Message was edited by: kostby

  • Can the crop tool resize resolution be changed?

    When using the crop tool, and resizing it via the mouse, the dimensions tend to jump by 6-15 pixels depending on the phase of the moon (or more likely which dimension I am changing).
    It would be nice if I could get LR into a 1-pixel movement mode or otherwise be able to set an exact pixel size for the cropping.  Putting my mouse into high-resolution mode does not help.  The crop tool always runs in a "fit" zoom mode so cropping at 1:1 zoom is not an option.
    The "custom aspect ratio" dialog does not get me there because it does not do pixel dimensions.
    I am aware that after doing the crop, I could use the export tool to get the exact pixel dimensions, but that is not what I am looking for.

    When you email a picture from Photos, you can choose the size.
    http://i1224.photobucket.com/albums/ee374/Diavonex/3bec08e4423ac97de93d4560186b6 daf.jpg

  • Can the text on toolbar buttons be changed?

    In my Customize Toolbar window, I have it set to show toolbar buttons - such as Back/Forward, New Tab, Home - as Text. Is it possible to change the actual text that shows for these buttons, for example Bk/Fwd for "Back/Forward"?

    Yes, if your on iCloud you can go into the calendar application and tap the calendars button. Then tap Edit, [Name of Calendar], then tap which colour. If you using any other client [Gmail, Exchange etc] you can go onto the change the colour online.

  • Why can the song order in some playlists be rearranged and other can not?

    I have several playlists, both drag-n-drop and smart albums. But on only some of the drag-n-drop lists, can I rearrange the playlist while others I can not. Any ideas?

    These two condions must be true for a playlist to arrange the tracks:
    1) Shuffle setting must be off
    2) Sorting order must be set on the very first column (with the numbers)
    Hope this helps.
    M

  • Can the initial startup galaxy picture be changed?

    The "new" Galaxy startup Screen in Leopard seems very dated to me. Is it possible to change it?
    This would be pre logging into account. I know how to change individual account
    desktop pictures.
    tks

    There are two better ways to do what you want (messing with system files is bad karma IMO).
    1. Use Terminal (one line)
    sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture "/path/to your Favourite/Background.jpg"
    This sets a preference in your system for the login background to be whatever you want it to be. The picture MUST be in a directory accessible to all users (e.g Users/Shared) otherwise you just get a blue screen.
    2. Use this application to set the login window background to be the same as your desktop background: http://www.apple.com/downloads/macosx/icons_screensavers/desktop2login.html
    Message was edited by: RodneyW

Maybe you are looking for