?
Solved

emptry lines in a continuous form in access 2010

Posted on 2011-02-24
3
Medium Priority
?
399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 1000 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 1000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Suggested Courses

770 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