473,769 Members | 3,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "OrderDetai l", 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 5360
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.u s> wrote in message
news:TM******** **********@news 4.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 "OrderDetai l", 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**@abcdatawo rks.SKIPTHISPAR T.com> wrote in message
news:uQ******** ************@sp eakeasy.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.u s> wrote in message
news:TM******** **********@news 4.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 "OrderDetai l", 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
5239
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 fact that I'm clicking in the header and not somewhere in the detail section. How can I learn this? TIA - Turtle
4
3819
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 on SUBSNO, and the data source for each is the table (not a query). It behaves wonderfully, except I can't seem to change the layout of the subform in design view. I make changes and can see them in design view but in form view it reverts back...
1
2018
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. There is a menu item to switch to datasheet view, but it won't go back to form view. The only way I see so far is to open the subform by itself in design view, change the default view, save & close, then set the sourceobject property in the main...
4
2316
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). I have a relationship set up that is used to track the hours an employee has worked on each project during the week. I'm trying to set up a Form to allow someone to choose their name and a Period Ending date (basically, the tblTimeReport...
3
15951
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 datasheet view of all the 'members' of the organization, and the second, detailed information for the 'member' selected in the datasheet subform. When user selects an organization , the resulting view gives the information on that organization followed...
2
5781
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 doing what I want it to do. What I have so far: Fields to enter search terms Subform bound to a query
7
6261
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 subform is for parts used on the work order. On the main form I have a LaborTotal (from main form), PartsTotal (from subform) and TotalCost (which is Labor + Parts). All works fine as is. Now to the question: I have a button on my main form to browse...
1
2429
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 only access a single record at a time in the subform and not have access to datasheet view in it?
4
2662
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 to table1, and multiple records in table 3 that tie to table2. Both on "1 to many" joins. Each of the forms are bound to the fields in the respective tables. The subform & subsubform are datasheet view. When I enter any data, I
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10035
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9984
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6662
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
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 we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.