473,395 Members | 1,774 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,395 software developers and data experts.

Clearing rows in a form...having trouble...Please help!!

I am creating a form in Access 2007 which is in tab form format. The form has multiple tabs, each tab pertaining to a different part of the same record. I am attempting to make a tab page to include medications. Each row of the form contains 5 fields regarding each medication name 1. Medication Name, 2. Medication Dose, 3. Medication Dose Unit, 4. Medication Route, 5. Medication Frequency.

This particular page has appx 40 rows, each containing the above 5 topics. I am looking for a way to clear or delete individual rows...For example if a medication order is discontinued I want an easy way to click and have all 5 fields cleared so a new medication would be added. It would also be nice if when a row is cleared it moves data up so there are no gaps in the form.

Is there a way to do this? I am by far no expert with Access, but have been unable to find an answer in my books, or by researching online...

Any help that can be provided would be greatly appreciated!!!

Mahalo!
Mar 15 '08 #1
3 1179
janders468
112 Expert 100+
If your form is bound to the underlying data then any deletions made in the table will be reflected in the form. There shouldn't be any gaps. It sounds like you're talking about removing the contents of a row without actually removing the row, I can't think of any good reason to have an entirely blank row. If you have questions about how to delete rows from a table let me know and I can help you with that.
Mar 15 '08 #2
NeoPa
32,556 Expert Mod 16PB
You don't say what the overall record pertains to.

If, as you say, the overall form deals with a single record across various tabs (or pages) then the only way to remove a line would surely be to delete the record upon which the line is based.

This would then remove it from all tabs of course.

If you simply want to remove the items pertaining to a single tab, then it makes no logical sense to display the lines without the items which are simply set to blank. That would just be wrong.
Mar 16 '08 #3
Select the row as same as you select in excel and press delete button it will be deleted
Mar 18 '08 #4

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

Similar topics

1
by: John Barden | last post by:
One of my programmers has created a ocx in C++ and he references the MFC Debug library instead of the Retail version of MFC. Now it's not backward compatable and if a client doesn't have the...
8
by: shandain | last post by:
Ok, I have done this a million times, and I can't get this to work... I hope I am just being an idiot and missing something... but I can't see it... so please call me an idiot and tell me what it...
2
by: Priya via .NET 247 | last post by:
I am creating an small application to display data from a SQL back end using a stored procedure. DataGrid1.DataSource = MyService.viewTable(); DataGrid1.DataBind(); I set the property so as...
5
by: Irfan Akram | last post by:
Hi People, I am tryint to use the facilities of System.Web.Mail in order to implement an email sending facility in my web-based application. I get this error. An error occurred:...
2
by: MLH | last post by:
I can't seem to find an A97 HELP blurb telling me how to make a specific Tab Page active from within VBA. I have a form with 3 tabs. They work great. I want to optionally make the first, second or...
2
by: lenygold via DBMonster.com | last post by:
I have problem with DB2 EXPRESS 9.5 C. I am using it 6 month. But today i wasn't able to start it. The icon is poping up an it is hanging about 1 min and the DB2 window is closing back. Please...
4
by: Dbar10 | last post by:
I am working on a form in my application for a Worker Profile evrything is working fine except the Search Box. I have to be able to search on two criteria. One is the WorkStatus i.e. Active,...
2
by: Ecot | last post by:
Hi all, I have not got any php knowledge and I have found a php code on the net and using it to send e-mail from a web html form.So far the form and the code works fine. I have the following php...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
Oralloy
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,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.