473,480 Members | 2,840 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Datasheet View: Save Column Position

21 New Member
Hello All,

I have a datasheet form that I would like to change the column order of. However, I have noticed that when I do change the order, said changes are not saved. Is there anyway to save the column order for a datasheet?

Thank you so much, I greatly appreciate any/all responses.
May 21 '15 #1
1 4302
jforbes
1,107 Recognized Expert Top Contributor
If you open the Form in DataSheet View and move some columns around and then Exit the Form, the Column order doesn't always get saved. I've never figured out why this doesn't always happened, but usually makeing a change to the Form itself at the same time, even if it is just to move a control and then move it right back again, will cause the changes to be saved.

Also there is the fun situation where every user in the system is moving columns around because they all have different needs. Causing the order of Columns to be different every time the Form is opened. If you want to hit this problem with a Big Hammer, you can use some code like the following to override "Access' Magic Column Configurator" and set the order yourself:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.     Me.txtSelectRow.ColumnOrder = 1
  3.     Me.txtFileName.ColumnOrder = 2
  4.     Me.txtDirectory.ColumnOrder = 3
  5. End Sub
  6.  
May 21 '15 #2

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

Similar topics

2
5341
by: ivan | last post by:
I have a form (CustomerImfo) that has a subform within it (order). Within that subform is another subform (OrderDetail). That subform (OrderDetail) is displayed in Datasheet view. When I am...
3
6397
by: Keith Wilby | last post by:
I have a form which allows both form and datasheet views. My question is, is it possible to control the field (column) names in datasheet view? What happens at the moment is that the name is...
3
3551
by: Kent Eilers | last post by:
I want to follow naming conventions for my controls - i usually prefix combo boxes with "cbo". When a form is in datasheet view however i do not want the user to see the 'cbo' prefix in front of...
4
5223
by: MacDermott | last post by:
I have an Access 2000 form with a subform in Datasheet view. When I click on an item in the header of the subform (the title at the top of one of the columns), I'd like to be able to capture the...
1
2091
by: jsb2n | last post by:
I haven't developed applications in 2 years (have been doing straight SQL Server work) and I am new to developing in Access. I know that using the datasheet view of a form is not usually the...
1
6956
by: Thomas Zimmermann | last post by:
I have a form with a subform in datasheet view. Now, I want to trigger a procedure (P1) each time the user selects an entire column (by clicking in the heading) in the subform. The procedure (P1) I...
2
8481
by: Tom van Stiphout | last post by:
Hi All, Access 2003. I would like to indicate required fields with a special background color. Easy for parent forms, but I also have several subforms in datasheet view. For those, I would like...
16
12566
by: ulam | last post by:
I have a form shown in datasheet view, and I have some actions that require that form to be requeried with a delete operation, however number of rows in the datasheet view remains constant with a...
2
2858
by: pipeme | last post by:
Hi I am not terribly proficient in access coding so please excuse my ignorance if this is easier than what I think it will be! I have a query which has 3 columns and varying amounts of records...
0
7060
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
7106
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...
1
6760
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7022
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...
1
4799
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
4501
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
3013
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1311
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 ...
0
206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.