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

Datasheet View: Save Column Position

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 4291
jforbes
1,107 Expert 1GB
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
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
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
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
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
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
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
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
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
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
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
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...

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.