473,405 Members | 2,310 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,405 software developers and data experts.

Setting recordsource - subform within subform

Using A2K. I need the syntax to set the recordsource for a subform
within a subform.

The "main" subform's recordsource changes based on user input. I need
to change the recordsource on the subform within that.

What is the correct syntax?

Thanks.
Nov 12 '05 #1
5 10582
On 24 Nov 2003 09:14:37 -0800 in comp.databases.ms-access,
ma**********@hotmail.com (Ellen Manning) wrote:
Using A2K. I need the syntax to set the recordsource for a subform
within a subform.

The "main" subform's recordsource changes based on user input. I need
to change the recordsource on the subform within that.

What is the correct syntax?

Thanks.


me![MySubform].Form![MySubFormsSubform].Form.Recordsource="..."

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #2
Try this...
Me.subFormControlName.Form.RecordSource

- Jim

On 24 Nov 2003 09:14:37 -0800, ma**********@hotmail.com (Ellen
Manning) wrote:
Using A2K. I need the syntax to set the recordsource for a subform
within a subform.

The "main" subform's recordsource changes based on user input. I need
to change the recordsource on the subform within that.

What is the correct syntax?

Thanks.


Nov 12 '05 #3
Thanks for your replies. I figured out the answer right after I posted...naturally.


"Jim Allensworth" <ji****@Notdatacentricsolutions.com> wrote in message news:<3f****************@news.west.earthlink.net>. ..
Try this...
Me.subFormControlName.Form.RecordSource

- Jim

On 24 Nov 2003 09:14:37 -0800, ma**********@hotmail.com (Ellen
Manning) wrote:
Using A2K. I need the syntax to set the recordsource for a subform
within a subform.

The "main" subform's recordsource changes based on user input. I need
to change the recordsource on the subform within that.

What is the correct syntax?

Thanks.

Nov 12 '05 #4
On 25 Nov 2003 06:16:38 -0800 in comp.databases.ms-access,
ma**********@hotmail.com (Ellen Manning) wrote:
Thanks for your replies. I figured out the answer right after I posted...naturally.


There's a bloke at work who usually asks me questions then figures out
the answer without me saying a word. I wish I could make a living out
of that. I'm thinking of leaving him a cardboard cutout of myself for
when I'm not in the office :-)

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #5

"Trevor Best" <bouncer@localhost> wrote in message
news:mq********************************@4ax.com...
On 25 Nov 2003 06:16:38 -0800 in comp.databases.ms-access,
ma**********@hotmail.com (Ellen Manning) wrote:
Thanks for your replies. I figured out the answer right after I
posted...naturally.
There's a bloke at work who usually asks me questions then figures out
the answer without me saying a word. I wish I could make a living out
of that. I'm thinking of leaving him a cardboard cutout of myself for
when I'm not in the office :-)


That is a well-known programmer's tip - explain your problem (coding wise,
naturally!!) to someone else. By getting your thoughts (hopefully!) in
order, your subconscious very often works out the answer. I am not a
psychiatrist, but I do know that this works - and has done for years.
Of course if you cannot explain your problem to someone else (because you
cannot get your thoughts in order...) then ...

If frustrates me - while we are on the subject - that I know that things are
possible, indeed often we can see them being done. But trying to replicate
them... ;)}

Nick
Nov 12 '05 #6

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

Similar topics

2
by: John Hargrove | last post by:
I'm having trouble setting decimal place values in the results field of a sample management database I'm building for an environmental testing laboratory. The degree of sensitivity varies among...
4
by: Mr. Bungle | last post by:
Just when I thought I knew everything... Does anyone know why sometimes when creating a subform, the RecodSource property is totally unavailable, this appears to happen when you don't use the...
2
by: Bill Agee | last post by:
I have a subform called PaymentDetails and would like to dynamically assign the recordsource after the form/subform is opened. The recordsource for Payment Details is "PaymentDetails_qry" which...
1
by: Jimart | last post by:
Hi I Have A Main Form this form has a Subform The SourceObject for the Subform is another subform. I have mastered changing the SourceObject, so that I can have different Subforms appearing...
1
by: John Welch | last post by:
In a main form, I build an SQL string based on several unbound combo boxes and then I try to set this string to be the recordsource for a subform like this: Private Sub cmdfind_Click() Dim...
2
by: Bex | last post by:
Hi All. I'm attempting at the moment to set the recordsource of an unbound subform when i open up it's main form. My view is to have one intial form - called "Search" which has a number of...
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...
0
by: iceborg | last post by:
Greetings, I have an application that was originally designed in Access 2000. It has been transformed to Access 2002 (XP), Access 2003, and now Access 2007. I have a form and subform, the...
8
Megalog
by: Megalog | last post by:
Hey guys.. my turn to ask a question: I'm having a weird issue with a form I've reworked. This form has a combo box, which when used is changing the recordsource of a subform. This subform has...
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...
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...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.