473,466 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Delete record in subreport

9 New Member
Hello,

I have created a subform/report on a form based on a table. I would like to be able to delete the accounts if necessary. I thought creating a delete button using the wizard would work but it did not. I tried ‘RunCommand acCmdDeleteRecord’ but that did not work either. I know if I right click on the account and then delete works but I am trying to avoid using that method. Is it possible to delete individual records in a subform/report using a command button? I looked through the archives but could not find an answer. Thank you for any advice.
Feb 20 '07 #1
2 1917
ADezii
8,834 Recognized Expert Expert
Hello,

I have created a subform/report on a form based on a table. I would like to be able to delete the accounts if necessary. I thought creating a delete button using the wizard would work but it did not. I tried ‘RunCommand acCmdDeleteRecord’ but that did not work either. I know if I right click on the account and then delete works but I am trying to avoid using that method. Is it possible to delete individual records in a subform/report using a command button? I looked through the archives but could not find an answer. Thank you for any advice.
Individual Records can be deleted in a SubForm via a Command Button if the SubForm is in Continuous or Single Form View. Be advised that if the SubForm is in Continuous View, the Command Button will be visible for each Record in the SubForm
Feb 21 '07 #2
LostBoy
9 New Member
Thanks for the info ADezii, I had it set to datasheet view.
Feb 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Tiago Miguel Silva | last post by:
I there. I´m almost desperate with a report that i´m doing! I am creating a report using the push method, being the data returned by a typed dataset. The report shows activities by week and...
1
by: Steve Edwards | last post by:
I am trying to use an existing report as a subreport in another report. I have the subreport added to the main report, but the only thing that shows up where the subreport should be is the name of...
7
by: Ellen Manning | last post by:
I've got an A2K report showing students and their costs. Student info is in the main report and costs are in a subreport for each student. The user inputs the program desired then only those...
0
by: Jaap | last post by:
Hi, Situation is as follows: - A report has a subreport - The subreport has records of which two will fit on a page - When the complete report is printed, the last record in the subreport...
1
by: shaqattack1992-newsgroups | last post by:
I know this is kind of a weird question, but is there anyway to give a subreport control of a main report? I posted my situation earlier about having drawings print out after a group. I have a...
1
by: kkrizl | last post by:
I have a form that displays general information about an alarm permit location. There's a subform that shows detailed information about burglar alarms that have gone off at the location. When a...
0
by: C | last post by:
Hi, I have a main Report which has a SubReport. This SubReport also has a SubReport. I set the data of my main Report and Subreport through code DataSet dsMainReport =...
2
by: John Sheppard | last post by:
Hello there, I have a report with a subreport on it. The subreport is meant to show multiple child record for each master record. But it only shows the first record. When I open the subreport...
2
by: anthony | last post by:
My report has RegNo header, AOL header, Detail section, RegNo footer. The RegNo footer contains a subreport which consists only of a label and a single control, both in the subreport's detail...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.