Solved

emptry lines in a continuous form in access 2010

Posted on 2011-02-24
3
347 Views
Last Modified: 2012-05-11
i have a Continuous Form and i want that visually   when i open this form that it's will show up 10 emtpy lines but i don't want that it's will be a actually  ten records with a id  it's just for visual reason
instead of to get one empty line when i open this form  i want ten lines like this
0
Comment
Question by:bill201
3 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 250 total points
ID: 34977532
I could be wrong but there is not way to do it with a sub form in Access without creating the blank records..

If you really must have it then one possible solution would use a temp table that. YOU append in the existing record and the add addition blank records until you get 10. Whne h user saves the da you would have to update the temp dat to teh autual tabnble.

You coudl use a data grid control and do the same thing as t a temp table. You woudl load the grid withte data and then have to save it back tot eh actual table.

It is possible to do with enough time, effort, and VBA coding.


0
 
LVL 6

Assisted Solution

by:TinTombStone
TinTombStone earned 250 total points
ID: 34978192
I can't imagine why you would want to do this.  Bear in mind that there are no blank rows. just the tentative append row at the bottom of the table.

You could create 10 dummy blank records then not display the Primary Key field.   Of course if this is a SubForm you would then have to use code to change the record source each time the main form changed. and add a bit validation to ensure that the blank records were not used.

In the end it would be a lot of work for you and it would be confusing for the user (Which records can they add/edit?).  So, whats the point?
0
 

Author Comment

by:bill201
ID: 34978269
i juest think that a invoice in a computer with empty lines ready to write looks more nice and this it is a personal preference and it's not a logical issue but if it's so complicated then i agree that  is useless to spend time for this
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now