I have created a main form with a combo box (cbo_student_ev ents) that
has a drop down list for various student events. I have a subform that
displays all the corresponding data for the cbo_student_eve nts. Eg.
From the combo box, I select 'Ski Trip', the subform should display
all the Ski Trip details like location, time, etc. I have
LinkMasterField s and LinkChildFields correctly. The problem is that
the data in the subform will only diplay if I click the design view
button twice. Clicking it once, takes me into design view then
clicking it again takes me back to form view, now the data in the
subform displays.
Anyone have any ideas what I need to do to have the data in my subform
show as soon as I select the value from my combo box
(cbo_student_ev ents).
Thanks 1 2839
Sounds like a problem with the events you're using. Check to see
you're using the AfterUpdate event. If that doesn't help, maybe try
putting Me.Refresh into your code when you want it to display the
subform information. If that still fails to work, you may need to
post more info about your problem... di*****@comcast .net (kevin) wrote in message news:<c4******* *************** ****@posting.go ogle.com>... I have created a main form with a combo box (cbo_student_ev ents) that has a drop down list for various student events. I have a subform that displays all the corresponding data for the cbo_student_eve nts. Eg. From the combo box, I select 'Ski Trip', the subform should display all the Ski Trip details like location, time, etc. I have LinkMasterField s and LinkChildFields correctly. The problem is that the data in the subform will only diplay if I click the design view button twice. Clicking it once, takes me into design view then clicking it again takes me back to form view, now the data in the subform displays. Anyone have any ideas what I need to do to have the data in my subform show as soon as I select the value from my combo box (cbo_student_ev ents). Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: damjanu |
last post by:
Hi All;
I need little help.
I have a datasheet form.
I allow user to do 'filter by selection'.
My form contains a column with values.
As user changes selections, I want to
calculate totals. I can do this the
first time the form loads.
|
by: Sabine Oebbecke |
last post by:
Hi Experts!
I have several forms and reports where controls get their values with
'Forms!MainForm!Control' or 'Forms!MainForm!Subform!Control' resp
'Forms!MainForm!Subform.Form!Control' which works without any problem
in Acc97, 2000 and 2002, but now in Access 2003 there seem to be a
problem with this.
A user is working with my app, and he uses an Access 2002 MDE in an
Access 2003 environment.
|
by: Andrew Wrigley |
last post by:
Hi
I have what seems a corruption of an mdb that is not solved by the
decompile command line trick.
The problem appears when clicking on a subform control (check box)
that has a event handler associated with it.
Everything works ok, until I click on the check box, whereupon Access
fails with an application error. It appears that execution never
|
by: J |
last post by:
Hi,
Ive got 3 forms, (a subform within a subform within a form) and when I
refresh the outermost form, Access closes and offers to send an error
report.
The forms worked fine a few weeks ago, but now they cause this error
in Access 2002 (Access 2000 is fine)
Each of the sub forms use values from their parent forms to produce
results.
|
by: AAJ |
last post by:
Hi all
I have a listbox on a form. If I set its rowsource directly, and the
query in the rowsourse returns no data, then the displayed listbox is
empty (exactly as you would expect)
However....
If I programatically set the rowsource, and the query returns no
records then access completely crashes and switches its self off,
| |
by: ego |
last post by:
Hi all ,
I had created the following Form/SubForm structure :
MainForm
SubForm A (SubForm of MainForm)
SubForm B (SubForm of SubForm A)
SubForm C (SubForm of SubForm B)
SubForm D (SubForm of SubForm C)
|
by: Terry |
last post by:
Hello,
I wonder if anyone can shed light on this problem for me. I have an
Access 97 front end with an SQL 2000 database. There is a Business main
form with an Owner subform and corresponding tables of the same names.
A third table BusinessRel records the BusinessID (linked to Business
table) and OwnerID (linked to Owner table).
This is what happens when the Business main form is loaded. I enter the
BusinessID and other stuff, then as...
|
by: Terry |
last post by:
Hello,
Has anyone experienced the following problem following an Upsize from
Access 97 to SQL 2000 using the MS Upsize Wizard? Or can anyone see
what the problem might be.
Before Upsize (Access 97 front end and Access 97 tables): A MainForm
loads up correctly and then I enter a ReferenceNumber value in a
MainForm field control. I then click on the first field of a SubForm,
the ReferenceNumber then shows at the top of the SubForm and...
|
by: Lenin Torres |
last post by:
Hi everybody
I have an Union Query that works fine. I used this query as the
RecordSource for a Form. That Form is used as a subform in another form.
Everything works fine, except for the "Filter by form" feature. When
the user tries to use Filter by form a messagebox is displayed: "There
are too many controls in this form to perform a filter by form", after
that,when the user exit the Filter by Form mode, Access crash,
displaying a...
|
by: stuart.medlin |
last post by:
I have an Access 97 application that has a basic form (Transcript) and
subform. The subform has a query as a recordsource that returns
records from a table:
SELECT DISTINCTROW Transcript.NCID, Transcript.TransCode,
Transcript.TransMM, Transcript.TransYY, Transcript.DateKeyed,
Transcript.UserID
FROM Transcript
WHERE datekeyed >= begindate() and datekeyed < enddate()
ORDER BY datekeyed;
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |