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

Subform in Datasheet view question

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 entering customers and their
respective orders, the first order entered is fine with the "tab" field
orders correct. On the second and subsequent orders, when I go from the
Order form to the subform "OrderDetail", the curser goes to the wrong field
(not the first field in the tab order). I have checked the tab order and it
is correct. I have tried using a DoCmd to send the curser to the correct
field but that doesnt seem to work.

Is this caused by the subform being in Datasheet view or am I doing
something wrong in my DoCmd statement?
Nov 12 '05 #1
2 5337
In a subform in datasheet view, the tab order is ignored. You will move
through the fields in the order in which they're displayed on screen. You
can drag and drop the fields so that they're in the order you want. But
after you do this, make sure to hit ctrl-s, so that you save that order.

Jeremy

--
=================
Jeremy Wallace
AlphaBet City Dataworks
ABCDataworks dot com
"ivan" <in**@achieva.us> wrote in message
news:TM******************@news4.srv.hcvlny.cv.net. ..
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 entering customers and their
respective orders, the first order entered is fine with the "tab" field
orders correct. On the second and subsequent orders, when I go from the
Order form to the subform "OrderDetail", the curser goes to the wrong field (not the first field in the tab order). I have checked the tab order and it is correct. I have tried using a DoCmd to send the curser to the correct
field but that doesnt seem to work.

Is this caused by the subform being in Datasheet view or am I doing
something wrong in my DoCmd statement?

Nov 12 '05 #2
Thanks Jeremy... but its not the order displayed thats the problem.. it's
that the curser moves into the third field displayed upon entering the
subform ...instead of the first field. The first time around its ok (1st
customer)... the curser moves to the first field in the subform
(item_number) and then we enter the necessary detail into the remaining
columns. But then when we move to a new customer record, enter the main
customer info and then enter the subform for the order detail (this is now
the second customers order detail) the curser goes to the third column
(quantity) instead of the first column (item number). The fields are
displayed in the correct order... but the curser goes to the wrong field.
And doCmd. doesnt seem to work. It's almost as if the entering of the 1st
customers detail record is somehow influencing the entry point of the curser
for the second detail record.


"Jeremy Wallace" <cd**@abcdataworks.SKIPTHISPART.com> wrote in message
news:uQ********************@speakeasy.net...
In a subform in datasheet view, the tab order is ignored. You will move
through the fields in the order in which they're displayed on screen. You
can drag and drop the fields so that they're in the order you want. But
after you do this, make sure to hit ctrl-s, so that you save that order.

Jeremy

--
=================
Jeremy Wallace
AlphaBet City Dataworks
ABCDataworks dot com
"ivan" <in**@achieva.us> wrote in message
news:TM******************@news4.srv.hcvlny.cv.net. ..
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 entering customers and their
respective orders, the first order entered is fine with the "tab" field
orders correct. On the second and subsequent orders, when I go from the
Order form to the subform "OrderDetail", the curser goes to the wrong

field
(not the first field in the tab order). I have checked the tab order and

it
is correct. I have tried using a DoCmd to send the curser to the correct
field but that doesnt seem to work.

Is this caused by the subform being in Datasheet view or am I doing
something wrong in my DoCmd statement?


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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...
4
by: wayne dooley | last post by:
This should be easy. I have 2 tables - CUST and SUBS, which have a 1 to many relationship. I created a form to show fields from CUST and a subform to show those in SUBS. The 2 tables are related...
1
by: Matthew Wells | last post by:
I have a a parent form with a subform. The parent form has two command buttons to change the subform view to single form view and datasheet view respectively. I can't seem to get this to work. ...
4
by: Mason | last post by:
This is probably an incredibly newbie-ish question. I just haven't had the cause to use many subforms before, so I'm pretty sure I just don't understand it correctly (even after reading up on it)....
3
by: Thelma Lubkin | last post by:
I'm resubmitting a question that went unanswered a while ago. I'll try to rephrase it. I have a hierarchical form that presents data on an 'organization'. It has 2 subforms, the first a...
2
by: Smartin | last post by:
Using Access 97 I am trying to create a form that allows for user entry of search terms and displays a table of results. I thought I could accomplish this using a subform but it isn't quite...
7
by: Ken Mylar | last post by:
First a quick background on the form: I have a form that is normally viewed in Single form mode. It has a subform on it that is in datasheet view. The main form is for work orders and the...
1
by: runner7 | last post by:
Can anyone tell me if there is any way to change the default subform view from datasheet to only show a single record at a time? Can this be restricted in an application so that the user could...
4
by: Don Do | last post by:
Help I built a form/subform/subsubform setup using the access forms wizard. I have a table1 = parent, table2 = child, table3 = (grandchild?). There will be multiple records in table2 that tie...
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
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
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
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,...
0
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
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...

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.