473,395 Members | 1,738 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.

How to stop disarrangement of records in ms access subforms.

I have a form with a sub-form in Ms Access 2010
The sub-form is in tabular view which shows records and their dates on entry including Payment Cycle.

The issue is sometimes when data is entered in the sub-form and the form is closed and opened again or refreshed, the records are disarranged.

So for example if data is entered in this manner

Payment Cycle
Date
1
1/2/2014
2
1/3/2014
3
1/5/2014
4
1/6/2014

When form is closed and open again or refreshed, the Records change and are arranged in this manner



Payment Cycle
Date
4
1/6/2014
1
1/2/2014
3
1/5/2014
2
1/3/2014


Please can some help me solve this issue? It is urgent!

I want the records in the sub-form to follow the sequence of when they were entered.
Apr 16 '14 #1

✓ answered by jimatqsi

yashuaking,
Have you supplied sorting criteria in the query that is the subform's record source? Or, alternatively, in the Data properties of the sub-form you could fill in the Order By property.

Are you saying you have done that and it doesn't always work?

Jim

3 1073
jimatqsi
1,271 Expert 1GB
yashuaking,
Have you supplied sorting criteria in the query that is the subform's record source? Or, alternatively, in the Data properties of the sub-form you could fill in the Order By property.

Are you saying you have done that and it doesn't always work?

Jim
Apr 16 '14 #2
The Sub-Form is not based on query neither did I set the Data property on the sub form by filling in the Order By Property. I would do this to get the Result. Thank you very much. You have saved my day.
Apr 16 '14 #3
jimatqsi
1,271 Expert 1GB
You're very welcome, glad to help. You'll be surprised how much Access can help you when you observe all the little hints that are presented in the properties dialog.

Jim
Apr 16 '14 #4

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

Similar topics

6
by: MS | last post by:
Access 97 here. I want a simple way to "lock" certain records on a form. Some records remain "live" until all data is available which happens over time. When all the fields are complete, I want...
2
by: Terry | last post by:
Hello, I wonder if anyone can shed light on this problem for me. I have an Access 97 front end with an SQL 2000 database. There is a Business main form with an Owner subform and corresponding...
8
by: carriolan | last post by:
Hi I have an MS Access based application almost ready for distribution to the public and I find that even though I have compiled it into an MDE file, tables and queries can still be be imported if...
2
by: VSS | last post by:
Hello, I need to know what is the maximum number of records Access can hold? I need approx. 6 million records, do you know if Access can hold this amount? Thank you everyone.
1
by: elbatz | last post by:
Hi! Does anyone know the code of how to delete records in access using excel as reference. example: Delete * FROM table1 WHERE table1.ID=excelfile.ID ? Thanks
2
by: puT3 | last post by:
How can I make the report do not show any empty records? For example, in this table do not has address...I want the report only shows company that has address
28
by: slenish | last post by:
Hi everybody (as Dr. Nick would say), I am having a problem stopping duplicate records on my table. What I have is a form where you can enter in a persons day off request. What im trying to do is...
19
by: cw11 | last post by:
How do I create code to swap data in a field for two different records in Access 2003? I want to create a button on a form that will allow me to swap data for a field. For example, if I have a...
4
by: d Torst | last post by:
I created a query selecting non matching records and made it a delete query & get an error "specify the table conataing the records you want to delete". Help. Thanks DELETE Fuel_Assistance.,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.