Can one Recordset created in the Main/Parent form be used in more than one Subform?

Hi
Can one Recordset created in the Parent form be used in more than one Subform?  The parent and subforms are unbound.
If so, how do I do this?
Many thanks for your help!
smsemail

You can declare a public object variable in the parent form's module's Declarations area:
    Public rs As DAO.Recordset
Then, anywhere in the parent form's module:
    Dim strSQL As String
    strSQL= "SELECT etc"
    Set rs = CurrentDb.OpenRecordset(strSQL)
In a subform's module, or anywhere else for that matter while the form is open, you can return a reference to the recordset as a property of the class:
    Form_YourParentFormName.rs
Ken Sheridan, Stafford, England

Similar Messages

  • Can the $200 trade in be used for more than one phone?

    We have a family plan. Both my husband and I have the iPhone 4S and want to upgrade to the iPhone 6. When a new 2 year plan is initialized, can we both receive $200 trade ins or is it only good for one 4S with a new plan?

        smiste, hey that's a great question and I know that if I could I would like everyone I know to take advantage of this deal! The good news is that yes, you would be able to turn in both and receive a giftcard for both just the same, so no worries there. Hope this helps!
    AdamG_VZW
    Follow us on Twitter @VZWSupport

  • Can a single datasource be used by more than one Application running on the

    Can a single datasource be used by more than one Application running on the system?

    What, in this context, do you mean by "datasource"?

  • Can one computer be used by more than one itunes account holders

    Can one computer be used by more than one itunes account holders or can we no longer share a home computer to access our clouds?

    Hi Zhang Bin
    You can create one order from multiple  notification, but you cannot create multiple order from one notification.
    Exmaple- You can select all notification in IW28, and create one order. All these notification will appear in object list of order.
    Regards
    Anil Kumar

  • TS3276 As an email is being send the mail activity indicator is showing that more than one email is being send....what is going on here? Thanks

    Question: As I send an email, the mail activity indicator is showing that more than one email is being sent! Last time it was 5 even though I was only sending one and there were no other emails in the out box! What's going on here I ponder?

    Several time in the past, similar question was asked in the forum, for example check the link and reference OSS notes mentioned in it. You can also search the forum, if you need further info on this topic.
    http://scn.sap.com/thread/3230103
    Regards,

  • Can this be used on more than one computer?

    Can this be used on more than one computer?  (Multiple-users?)

    Hi Jessica,
    ExportPDF is for one user per account. Please refer to our terms... this should help with your questions!
    Let me know if this helps.
    Regards, Stacy

  • I am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use ' ' with more than one recipient the save grays out.  Any thoughts?

    am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use '< >' with more than one recipient the save grays out.  Any thoughts?

    I figured it out.  I needed to fix some errors in my account information.  It works fine now.

  • Can one Communication Channel be used in more than one sender agreement?

    Can one Communication Channel be used in more than one sender agreement?

    It depends on your scenario...let me tell you a case where you can use one communication channel in more than one sender agreement...
    If you have an RFC sender channel this can be used in any number of sender agreements....
    Thanks,
    Renjith

  • TS4124 can imatch be used for more than one persons library of music, or does each person require a separate imatch account?

    Can iMatch be used for more than one person's library of music, or does each person require a separate iMatch account for their own library?

    1 account = 1 library, 2 = 2 and so on.

  • HT4968 Can I add subscriptions to more than one calendar?  I would like my google cal to be added to my main ical cal.      be to more than one calendar

    CAn I add more than one subscription to my main calendar in ical?  I have a google cal I use for work, plus a another schedule i subscribe to.  I would like both of those to fill my main ical cal.

    I'm not sure how you would merge them without dragging and dropping the events from your separate calendars into the one you want to hold the merged events.
    iCloud won't sync calendars from external account such as Google.  The easiest thing to do would be to add them to your iOS devices as explained here: https://support.google.com/calendar/answer/151674?hl=en&rd=1.  They will then appear alongside your iCloud calendar on your iOS devices just as they do on your Mac.

  • Can apple tv be set up on a network to be used on more than one tv at a time?

    I am trying to find out if I can use my Apple TV on more than one TV at a time over a home wireless network?

    It only has a single HDMI out.
    Unless you can find some third party solution or AV amp that will duplicate the output over additional HDMI outputs the answer is no.
    You could take an AppleTV from room to room where it is needed and connect to the TV in use, but if you want more than one AppleTV feed best to get another AppleTV...
    AC

  • Can't SSAS engines make use of more than one aggregation to answer a query?!

    I have a very simple cube (just for testing and training) . This cube contains two dimensions: [Dim Soccer Player] contains one attribute hierarchy [player name], the other dimension
    is [Dim Match Acts] contains also one attribute [Acts] which has values like fouls, goals, saves, tackles… etc. And of course a Fact that contains one measure of Just Count ... that simple ... so this cube can
    answers a question like how many goals scored by "Messi", for example ... a very simple trivial cube.
    I'm testing aggregations and their effect. so first I've designed one aggregation (Aggregation 0) on the granularity level of [Player name], then
    I run a query to get the count of ALL the[Acts] done by each [Player name] ... I've checked the SQL Profiler and I found that the aggregation was used.
    Then I cleared the cache, and I run another query, but this time to get just the number of Fouls committed by each [Player name], I checked the Profiler but the Aggregation 0 was NOT used.
    I went back to the aggregations design tab in BIDS, and I added another new aggregation (Aggregation 1) on the level of [Acts], so now I have two aggregation one on the granularity level of
    [Player name] and the second on the level of the [Acts].... I cleared the cache again and rerun the last query. NONE of the aggregation was used!
    In the third test I deleted Aggregation 1 and added [Acts] to Aggregation 0. so Aggregation 0 now on both [Player name] AND [Acts]... cleared the cache and rerun the last query. Aggregation
    0 appeared again.
    I just want to make sure (and if possible know why) the SSAS engine can't make use of and combine more than one aggregation to serve a query (point number 2), and that to design an aggregation
    that will serve a query which contains attributes from different dimensions, I have to add ALL the attributes in that query in that one aggregation, like point 3 ... is this true?!

    I think you are on the right track. You need to include all the attributes used in one query in the same aggregation (like #3) for it to be used. Example #2 works as I would expect. Queries above the grain of the agg (query by player name and an agg by
    player/act can be used) can be used. Queries below grain of the agg (example #2) can't use the agg.
    http://artisconsulting.com/Blogs/GregGalloway

  • Adobe Form used by more than one user simultaneously

    Friends,
    I am working on an online interactive Adobe form using Web Dynpro ABAP.
    once the user enters the data and clicks the submit button, the data is sent to ztables.
    the scenario is that more than one user can possibly use the same form simultaneously. in that case, how can i maintain synchronization ie how to avoid multiple users from using the form at the same time, when the form is already being filled by one user already.
    I am guessing i have to do something with ADS for this.
    Any thoughts or ideas would be greatly appreciated.
    Thanks and Regards.

    Hi Bertrand,
    The purpose of allowing only one user is to ensure data consistency as you have guessed.
    Is there a program name or transaction code where i can look up the lock entries and see if i can apply them to my web dynpro application or the adobe form.
    I would greatly appreciate your help.
    Thanks and Regards.

  • Can i cloud be used on more than one phone with the same itunes account

    I have two i phones one for my kids and one for me and we have one itunes/icloud account when we have i cloud on we lose our specific contact lists.  can we not share i cloud?

    I highly recommend individual iCloud accounts for stuff like syncing notes, mail, calendars, contacts, etc. My wife, kids and I have a total of 4 iCloud accounts and 1 iTunes in the Cloud account. My wife has one, I have one, my kids both have one, and we have one for iTunes in the Cloud. This way music, media, apps, and books are available across all the devices...

  • Can a pluggable mapping be used by more than one project.

    I have a common mapping which 2 projects use it. If I deploy in one project the otherprojects mapping is getting Invalid. Can I make this mapping a pluggable mapping and then use it in 2 projects will this concept work.
    Thanks

    I have a common mapping which 2 projects use it. I donot think mapping can be common across the project . You can create the same mapping twice in both project.
    So donot know how you are using same mapping which 2 projects use it.
    If I deploy in one project the otherprojects mapping is getting InvalidAs i told create the same mapping in Both the project and use it.
    Can I make this mapping a pluggable mapping and then use it in 2 projects will this concept work.You can not share Pluggable mapping across the Project.
    Cheers
    Nawneet
    Edited by: Nawneet on Apr 12, 2010 10:51 AM

Maybe you are looking for

  • ENVY 7640 - Power Button doesn't work after going to sleep

    We print about once a day. It printed the first day without problems.The second day, we were unable to print and went to the printer and pushed the touchscreen - nothing happened.Then we pushed the power button - nothing happened,Then we unplugged an

  • Cancelled project not moving to inactive items dashboard

    Hi All, I am having a small problem. I have recently imlemented a new project type in my system. For this new Project type, when i set the status of the project to cancelled, it is still appearing within the active items dashboard and not moving to t

  • Concurrent manager did not failover

    Dear all, i've setup the load balancer and PCP on 2 appsTier and 2 DBTier. the failover of forms and HTTP are working fine.When i shutdown node 2, i can connect to common URL and open forms and run request because node one is the primary node for all

  • The content database on the server is temporarily unavailable while deploying a app

    HI, I got the following error while deploying a app. I have not added any logic in App. What i have tried yet: 1. Configured Server for Using App 2. Added permission to user2 (app developer account by which i open VS 2012) as mentioned in following U

  • Print server properties

    The pages printed vary in print size. I can print a test page correctly, but when an email or screen page prints, it's 150% or bigger, so it doesn't fit letter-size paper. I've checked all "print preferences" and paper size is "letter." However, " pr