[This is still causing me grief; any ideas???? - I thought a Requery would
fix this but to no avail]
If I create 2 or more records in my subform and I then delete the main
record, then all the controls on my subform disappear.
Yet if there is only one record in the subform then it gets deleted ok and
the controls are still there ready to await further input.
Further info;
Cascading Deletes are on.
The subform Cycle property is set to Current Record.
Several fields in the table underlying the subform have default values.
Importantly I notice that if there is another main record before the one I
delete, then the subform displays ok.
Any ideas? This one is really driving me nuts!
thanks
Martin 4 2489
"Deano" <de*********@ho tmail.com> wrote in message
news:wA******** **********@ward s.force9.net... If I create 2 or more records in my subform and I then delete the main record, then all the controls on my subform disappear.
Yet if there is only one record in the subform then it gets deleted ok
and the controls are still there ready to await further input. [snip]
Are you sure they are not just scrolled up off screen?
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
"Rick Brandt" <ri*********@ho tmail.com> wrote in message
news:bo******** *****@ID-98015.news.uni-berlin.de... "Deano" <de*********@ho tmail.com> wrote in message news:wA******** **********@ward s.force9.net... If I create 2 or more records in my subform and I then delete the main record, then all the controls on my subform disappear.
Yet if there is only one record in the subform then it gets deleted ok and the controls are still there ready to await further input. [snip]
Are you sure they are not just scrolled up off screen?
Thanks for the reply Rick. No I should have mentioned it's not a continuous
form. If I exit the form and re-enter then all is well.
The only thing I can think of doing is to suppress screen updating, close
the form, reopen the form and then Echo on again.
"Deano" <de*********@ho tmail.com> wrote in message
news:E6******** **********@ward s.force9.net... "Rick Brandt" <ri*********@ho tmail.com> wrote in message news:bo******** *****@ID-98015.news.uni-berlin.de... "Deano" <de*********@ho tmail.com> wrote in message news:wA******** **********@ward s.force9.net... If I create 2 or more records in my subform and I then delete the
main record, then all the controls on my subform disappear.
Yet if there is only one record in the subform then it gets deleted
ok and the controls are still there ready to await further input. [snip] Are you sure they are not just scrolled up off screen?
Thanks for the reply Rick. No I should have mentioned it's not a
continuous form. If I exit the form and re-enter then all is well. The only thing I can think of doing is to suppress screen updating, close the form, reopen the form and then Echo on again.
Does the subform allow additions? When you delete the main record, are you
left positioned at a different main record or the blank new record
position?
The reason I ask is because a form with no current record to display AND
which doesn't allow new records to be inserted will appear totally blank
(no controls, labels, etc.).
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
"Rick Brandt" <ri*********@ho tmail.com> wrote in message
news:bo******** *****@ID-98015.news.uni-berlin.de... Does the subform allow additions? When you delete the main record, are
you left positioned at a different main record or the blank new record position?
The reason I ask is because a form with no current record to display AND which doesn't allow new records to be inserted will appear totally blank (no controls, labels, etc.).
Cheers Rick, that was it.
I paid a developer to look at this and he didn't catch it properly! (:
Thanks for you help! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Deano |
last post by:
If I create 2 or more records in my subform and I then delete the main
record, then all the controls on my subform disappear.
Yet if there is only one record in the subform then it gets deleted ok and
the controls are still there ready to await further input.
Further info;
Cascading Deletes are on.
The subform Cycle property is set to Current Record.
|
by: Uwe Range |
last post by:
Hi to all,
I am displaying a list of records in a subform which is embedded in a
popup main form (in order to ensure that users close the form when
leaving it).
It seems to be impossible to delete a record in this subform.
When I switched modal off and tried to delete a record from the list,
I deleted a record on another form (below the popup form).
|
by: Maria |
last post by:
Is there another way to delete the current record in a subform from the main
form, another subform or a sub-subform other than setting focus on a field
in the subform and using run command acCmdDelete Record?
Thanks!
Maria
|
by: Lyn |
last post by:
Hi,
I have a form which contains a number of subforms in different pages of a
tab control. In the detail section of each subform, I list records related
to the main form record, but from different tables. In the footer section
of the subform I have a Notes text box and three buttons (Add, Update,
Delete). The latter each open a separate form for updating or deleting the
subform data (the records cannot be updated or deleted directly...
|
by: Susan Bricker |
last post by:
I went back to read my post and found an error in my description ...
here is the post, again, corrected:
The following error:
"The current field must match the join key '?' in the table that seves
as t the 'one' side of one-to-many relationship. Enter a record in the
'one' side table with the desired key value, and then make the entry
with the desired join key in the 'many-only' table."
| |
by: Suzanne |
last post by:
Hi all,
I'm reposting this message as I'm experiencing this problem more and
more frequently :
I really hope someone out there can help me as I've been tearing my
hair out on this one for a good while and I'm getting really
frustrated now!
My problem is this - my custom controls periodically disappear from my
|
by: Rich |
last post by:
Can a vb.net form contain a subform? If yes, how is this done?
Maybe I am going about my issue the wrong way. I start an asynchronous
procedure from my main form - invoke a routine on a mainframe computer. Then
I am polling every 10 seconds (timer1) to see if the external program has
generated a data result set for my form to retrieve. In the meantime, on the
same main form I have a series a little labels that blink on/off in a series...
|
by: rizwanahmed24 |
last post by:
Hello
i have made a custom control. i have placed a panel on it. I want this
panel to behave just like the normal panel. The problem i was having is
that the panel on my custom control doesnt accept other controls. The
control i drag drop on it becomes the child of my custom control's
parent form and not the child of my custom control. Then i added this
line
""
before my custom control class (i dont know what this line does). Now
|
by: BASSPU03 |
last post by:
I'm using Access 2003 on a Windows XP O/S.
I've made two copies of Form1 so that there're are 3 forms:
1) Form1
2) Form2
3) Form3
Essentially, they all write to the same Table1.
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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...
| |