473,722 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Possibility to divide a tall subform to two short subforms?

Is it possible to divide a tall subform with 80 records to two subforms each
with 40 records?

Dear All,

What I have: Tables: tblProduct, tblOrder, tblOrderDetail

queries: qryOrder, qryOrderDetail

Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above
mentioned queries, joined with OrderID)

Problem: the user complains that the subform sbfrmOrderDetai l can display
only 40 records, one has to use scrollbar to check those records after 40.
He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
holds records 1 to 40, the other starts from 41 (the fact is that he has
very often records more than 40 but less than 80).

Solution:

1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2

2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to create
two queries based on qryOrderDetail: qry1 and qry2, they are copies of
qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s start
from the 41st records, both add criteria OrderID =
Forms![frmOrder]![OrderID]

3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to
qry1 and qry2 repectively.

These are just my first prompt ideas, please tell me if you think it is
possible and/or worthy doing, or there is better solution. Thank you for
your patience to read this post. Any help is very much appreciated.

Paul
Nov 13 '05 #1
12 2015
Paul,
Is your user paying for the change? What if there are 1 more records in the
order form than will display in the subforms. Even at a high resolution
setting there is a limit to the amount of screen space and a number of
records beyond which everything won't fit without scrolling. If you build a
two subform screen and there are 81 records then in one of the subforms your
user will have to scroll to see the record that didn't fit. Charge time and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
Is it possible to divide a tall subform with 80 records to two subforms
each
with 40 records?

Dear All,

What I have: Tables: tblProduct, tblOrder, tblOrderDetail

queries: qryOrder, qryOrderDetail

Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above
mentioned queries, joined with OrderID)

Problem: the user complains that the subform sbfrmOrderDetai l can display
only 40 records, one has to use scrollbar to check those records after 40.
He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
holds records 1 to 40, the other starts from 41 (the fact is that he has
very often records more than 40 but less than 80).

Solution:

1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2

2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
create
two queries based on qryOrderDetail: qry1 and qry2, they are copies of
qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s start
from the 41st records, both add criteria OrderID =
Forms![frmOrder]![OrderID]

3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to
qry1 and qry2 repectively.

These are just my first prompt ideas, please tell me if you think it is
possible and/or worthy doing, or there is better solution. Thank you for
your patience to read this post. Any help is very much appreciated.

Paul

Nov 13 '05 #2
Alan,

Thank you very much for your comment. You are very right on using srollbars.
We just can't avoid it.
The possible change is queit complicated indeed. I realize it is not a easy
task at all. I will talk
with the user next week, try to persuade him in using a bigger monitor.

Have a nice weekend, don't know where you are, we just start to have Friday
evening...

Paul
Bratislava, Slovakia, Europe
"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in the
If you build a two subform screen and there are 81 records then in one of the subforms your user will have to scroll to see the record that didn't fit. Charge time and a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for any modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
Is it possible to divide a tall subform with 80 records to two subforms
each
with 40 records?

Dear All,

What I have: Tables: tblProduct, tblOrder, tblOrderDetail

queries: qryOrder, qryOrderDetail

Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above mentioned queries, joined with OrderID)

Problem: the user complains that the subform sbfrmOrderDetai l can display only 40 records, one has to use scrollbar to check those records after 40. He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
holds records 1 to 40, the other starts from 41 (the fact is that he has
very often records more than 40 but less than 80).

Solution:

1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2

2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
create
two queries based on qryOrderDetail: qry1 and qry2, they are copies of
qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s start
from the 41st records, both add criteria OrderID =
Forms![frmOrder]![OrderID]

3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to qry1 and qry2 repectively.

These are just my first prompt ideas, please tell me if you think it is
possible and/or worthy doing, or there is better solution. Thank you for
your patience to read this post. Any help is very much appreciated.

Paul


Nov 13 '05 #3
PS:

I just wonder if one can move the srollbar to the end and to the beginning
through vba... then it is easy to teach users to press "PageUp" key to look
the records start from No.1 and press "PageDown" to check the records from
the last records.

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in the order form than will display in the subforms. Even at a high resolution
setting there is a limit to the amount of screen space and a number of
records beyond which everything won't fit without scrolling. If you build a two subform screen and there are 81 records then in one of the subforms your user will have to scroll to see the record that didn't fit. Charge time and a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for any modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
Is it possible to divide a tall subform with 80 records to two subforms
each
with 40 records?

Dear All,

What I have: Tables: tblProduct, tblOrder, tblOrderDetail

queries: qryOrder, qryOrderDetail

Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above mentioned queries, joined with OrderID)

Problem: the user complains that the subform sbfrmOrderDetai l can display only 40 records, one has to use scrollbar to check those records after 40. He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
holds records 1 to 40, the other starts from 41 (the fact is that he has
very often records more than 40 but less than 80).

Solution:

1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2

2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
create
two queries based on qryOrderDetail: qry1 and qry2, they are copies of
qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s start
from the 41st records, both add criteria OrderID =
Forms![frmOrder]![OrderID]

3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to qry1 and qry2 repectively.

These are just my first prompt ideas, please tell me if you think it is
possible and/or worthy doing, or there is better solution. Thank you for
your patience to read this post. Any help is very much appreciated.

Paul


Nov 13 '05 #4
PS:

I just wonder if one can move the srollbar to the end and to the beginning
through vba... then it is easy to teach users to press "PageUp" key to look
the records start from No.1 and press "PageDown" to check the records from
the last records.

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in the order form than will display in the subforms. Even at a high resolution
setting there is a limit to the amount of screen space and a number of
records beyond which everything won't fit without scrolling. If you build a two subform screen and there are 81 records then in one of the subforms your user will have to scroll to see the record that didn't fit. Charge time and a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for any modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
Is it possible to divide a tall subform with 80 records to two subforms
each
with 40 records?

Dear All,

What I have: Tables: tblProduct, tblOrder, tblOrderDetail

queries: qryOrder, qryOrderDetail

Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above mentioned queries, joined with OrderID)

Problem: the user complains that the subform sbfrmOrderDetai l can display only 40 records, one has to use scrollbar to check those records after 40. He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
holds records 1 to 40, the other starts from 41 (the fact is that he has
very often records more than 40 but less than 80).

Solution:

1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2

2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
create
two queries based on qryOrderDetail: qry1 and qry2, they are copies of
qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s start
from the 41st records, both add criteria OrderID =
Forms![frmOrder]![OrderID]

3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to qry1 and qry2 repectively.

These are just my first prompt ideas, please tell me if you think it is
possible and/or worthy doing, or there is better solution. Thank you for
your patience to read this post. Any help is very much appreciated.

Paul


Nov 13 '05 #5
Paul,
I got to thinking that this is essentially replacing a page up/page down for
a scroll bar. There are still page breaks in Access forms and I guess you
could dynamically insert page breaks every 40 rows with nav buttons that
moved to the first, previous, next & last pages. Still, its one of those
where I wonder if the cost is worth it.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:Sy******** **********@news .chello.at...
Alan,

Thank you very much for your comment. You are very right on using
srollbars.
We just can't avoid it.
The possible change is queit complicated indeed. I realize it is not a
easy
task at all. I will talk
with the user next week, try to persuade him in using a bigger monitor.

Have a nice weekend, don't know where you are, we just start to have
Friday
evening...

Paul
Bratislava, Slovakia, Europe
"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in

the
If you build a
two subform screen and there are 81 records then in one of the subforms

your
user will have to scroll to see the record that didn't fit. Charge time

and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for

any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
> Is it possible to divide a tall subform with 80 records to two subforms
> each
> with 40 records?
>
>
>
> Dear All,
>
>
>
> What I have: Tables: tblProduct, tblOrder, tblOrderDetail
>
> queries: qryOrder, qryOrderDetail
>
> Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above > mentioned queries, joined with OrderID)
>
>
>
> Problem: the user complains that the subform sbfrmOrderDetai l can display > only 40 records, one has to use scrollbar to check those records after 40. > He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
> holds records 1 to 40, the other starts from 41 (the fact is that he
> has
> very often records more than 40 but less than 80).
>
>
>
> Solution:
>
> 1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2
>
> 2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
> ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
> create
> two queries based on qryOrderDetail: qry1 and qry2, they are copies of
> qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s
> start
> from the 41st records, both add criteria OrderID =
> Forms![frmOrder]![OrderID]
>
> 3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to > qry1 and qry2 repectively.
>
>
>
> These are just my first prompt ideas, please tell me if you think it is
> possible and/or worthy doing, or there is better solution. Thank you
> for
> your patience to read this post. Any help is very much appreciated.
>
>
>
> Paul
>
>



Nov 13 '05 #6
Paul,
Page Up/Page Down already works in Access forms without any code. With a
little training maybe the issue goes away. BTW--in the help files is a list
of shortcut keys that Microsoft included in Access forms. Point your users
to that help file article. There are some useful things in there.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:_y******** **********@news .chello.at...
PS:

I just wonder if one can move the srollbar to the end and to the beginning
through vba... then it is easy to teach users to press "PageUp" key to
look
the records start from No.1 and press "PageDown" to check the records from
the last records.

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in

the
order form than will display in the subforms. Even at a high resolution
setting there is a limit to the amount of screen space and a number of
records beyond which everything won't fit without scrolling. If you
build

a
two subform screen and there are 81 records then in one of the subforms

your
user will have to scroll to see the record that didn't fit. Charge time

and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for

any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
> Is it possible to divide a tall subform with 80 records to two subforms
> each
> with 40 records?
>
>
>
> Dear All,
>
>
>
> What I have: Tables: tblProduct, tblOrder, tblOrderDetail
>
> queries: qryOrder, qryOrderDetail
>
> Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above > mentioned queries, joined with OrderID)
>
>
>
> Problem: the user complains that the subform sbfrmOrderDetai l can display > only 40 records, one has to use scrollbar to check those records after 40. > He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
> holds records 1 to 40, the other starts from 41 (the fact is that he
> has
> very often records more than 40 but less than 80).
>
>
>
> Solution:
>
> 1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2
>
> 2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
> ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
> create
> two queries based on qryOrderDetail: qry1 and qry2, they are copies of
> qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s
> start
> from the 41st records, both add criteria OrderID =
> Forms![frmOrder]![OrderID]
>
> 3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to > qry1 and qry2 repectively.
>
>
>
> These are just my first prompt ideas, please tell me if you think it is
> possible and/or worthy doing, or there is better solution. Thank you
> for
> your patience to read this post. Any help is very much appreciated.
>
>
>
> Paul
>
>



Nov 13 '05 #7
Alan,

The Page Break is very interesting.
Just got your mail. Will try it. Thank you.

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:9_************ ********@comcas t.com...
Paul,
I got to thinking that this is essentially replacing a page up/page down for a scroll bar. There are still page breaks in Access forms and I guess you
could dynamically insert page breaks every 40 rows with nav buttons that
moved to the first, previous, next & last pages. Still, its one of those
where I wonder if the cost is worth it.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:Sy******** **********@news .chello.at...
Alan,

Thank you very much for your comment. You are very right on using
srollbars.
We just can't avoid it.
The possible change is queit complicated indeed. I realize it is not a
easy
task at all. I will talk
with the user next week, try to persuade him in using a bigger monitor.

Have a nice weekend, don't know where you are, we just start to have
Friday
evening...

Paul
Bratislava, Slovakia, Europe
"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in
the
If you build a
two subform screen and there are 81 records then in one of the subforms

your
user will have to scroll to see the record that didn't fit. Charge
time and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result
set will be read only so if the order detail records should be editable then you'll need to dump the result set in some temporary tables and then for any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
> Is it possible to divide a tall subform with 80 records to two
subforms > each
> with 40 records?
>
>
>
> Dear All,
>
>
>
> What I have: Tables: tblProduct, tblOrder, tblOrderDetail
>
> queries: qryOrder, qryOrderDetail
>
> Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two

above
> mentioned queries, joined with OrderID)
>
>
>
> Problem: the user complains that the subform sbfrmOrderDetai l can

display
> only 40 records, one has to use scrollbar to check those records after 40.
> He asked me if I can divide the sbfrmOrderDetai l into two subforms,
one > holds records 1 to 40, the other starts from 41 (the fact is that he
> has
> very often records more than 40 but less than 80).
>
>
>
> Solution:
>
> 1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2
>
> 2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID, > ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
> create
> two queries based on qryOrderDetail: qry1 and qry2, they are copies of > qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s
> start
> from the 41st records, both add criteria OrderID =
> Forms![frmOrder]![OrderID]
>
> 3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to
> qry1 and qry2 repectively.
>
>
>
> These are just my first prompt ideas, please tell me if you think it

is > possible and/or worthy doing, or there is better solution. Thank you
> for
> your patience to read this post. Any help is very much appreciated.
>
>
>
> Paul
>
>



Nov 13 '05 #8
Paul,
I got to thinking that this is essentially replacing a page up/page down for
a scroll bar. There are still page breaks in Access forms and I guess you
could dynamically insert page breaks every 40 rows with nav buttons that
moved to the first, previous, next & last pages. Still, its one of those
where I wonder if the cost is worth it.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:Sy******** **********@news .chello.at...
Alan,

Thank you very much for your comment. You are very right on using
srollbars.
We just can't avoid it.
The possible change is queit complicated indeed. I realize it is not a
easy
task at all. I will talk
with the user next week, try to persuade him in using a bigger monitor.

Have a nice weekend, don't know where you are, we just start to have
Friday
evening...

Paul
Bratislava, Slovakia, Europe
"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in

the
If you build a
two subform screen and there are 81 records then in one of the subforms

your
user will have to scroll to see the record that didn't fit. Charge time

and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result set
will be read only so if the order detail records should be editable then
you'll need to dump the result set in some temporary tables and then for

any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
> Is it possible to divide a tall subform with 80 records to two subforms
> each
> with 40 records?
>
>
>
> Dear All,
>
>
>
> What I have: Tables: tblProduct, tblOrder, tblOrderDetail
>
> queries: qryOrder, qryOrderDetail
>
> Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two above > mentioned queries, joined with OrderID)
>
>
>
> Problem: the user complains that the subform sbfrmOrderDetai l can display > only 40 records, one has to use scrollbar to check those records after 40. > He asked me if I can divide the sbfrmOrderDetai l into two subforms, one
> holds records 1 to 40, the other starts from 41 (the fact is that he
> has
> very often records more than 40 but less than 80).
>
>
>
> Solution:
>
> 1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2
>
> 2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID,
> ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
> create
> two queries based on qryOrderDetail: qry1 and qry2, they are copies of
> qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s
> start
> from the 41st records, both add criteria OrderID =
> Forms![frmOrder]![OrderID]
>
> 3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to > qry1 and qry2 repectively.
>
>
>
> These are just my first prompt ideas, please tell me if you think it is
> possible and/or worthy doing, or there is better solution. Thank you
> for
> your patience to read this post. Any help is very much appreciated.
>
>
>
> Paul
>
>



Nov 13 '05 #9
Alan,

I think I will not do it. Rather train the user to use the PageDown and
PageUp to check the records in the subform.

regards,

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:rM************ ********@comcas t.com...
Paul,
Page Up/Page Down already works in Access forms without any code. With a
little training maybe the issue goes away. BTW--in the help files is a list of shortcut keys that Microsoft included in Access forms. Point your users to that help file article. There are some useful things in there.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:_y******** **********@news .chello.at...
PS:

I just wonder if one can move the srollbar to the end and to the beginning through vba... then it is easy to teach users to press "PageUp" key to
look
the records start from No.1 and press "PageDown" to check the records from the last records.

Paul

"Alan Webb" <kn*****@hotmai l.com> 写入消息新闻
:PP************ ********@comcas t.com...
Paul,
Is your user paying for the change? What if there are 1 more records in
the
order form than will display in the subforms. Even at a high
resolution setting there is a limit to the amount of screen space and a number of
records beyond which everything won't fit without scrolling. If you
build

a
two subform screen and there are 81 records then in one of the subforms

your
user will have to scroll to see the record that didn't fit. Charge time and
a half for this one and if your client is willing to pay, go for it.
Now, Top N will work but you need to sort the result set. The result
set will be read only so if the order detail records should be editable then you'll need to dump the result set in some temporary tables and then for any
modified records, post the changes back to the soure tables.

"Paul T. RONG" <et***@hotmail. com> wrote in message
news:qM******** **********@news .chello.at...
> Is it possible to divide a tall subform with 80 records to two
subforms > each
> with 40 records?
>
>
>
> Dear All,
>
>
>
> What I have: Tables: tblProduct, tblOrder, tblOrderDetail
>
> queries: qryOrder, qryOrderDetail
>
> Forms: form frmOrder and subform sbfrmOrderDetai l (based on the two

above
> mentioned queries, joined with OrderID)
>
>
>
> Problem: the user complains that the subform sbfrmOrderDetai l can

display
> only 40 records, one has to use scrollbar to check those records after 40.
> He asked me if I can divide the sbfrmOrderDetai l into two subforms,
one > holds records 1 to 40, the other starts from 41 (the fact is that he
> has
> very often records more than 40 but less than 80).
>
>
>
> Solution:
>
> 1. to make two subforms sbfrmOrderDetai l1 and sbfrmOrderDetai l2
>
> 2. there are 6 fields in qryOrderDetail: OrderDetailID, OrderID, > ProductID, Price, Quantity, Total (that is [Price] * [Quantity]). to
> create
> two queries based on qryOrderDetail: qry1 and qry2, they are copies of > qryOrderDetail, but strict qry1’s TopValues to 40, strict qry2’s
> start
> from the 41st records, both add criteria OrderID =
> Forms![frmOrder]![OrderID]
>
> 3. set the recordsouce of sbfrmOrderDetai l1 and sbfrmOrderDetai l2 to
> qry1 and qry2 repectively.
>
>
>
> These are just my first prompt ideas, please tell me if you think it

is > possible and/or worthy doing, or there is better solution. Thank you
> for
> your patience to read this post. Any help is very much appreciated.
>
>
>
> Paul
>
>



Nov 13 '05 #10

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

Similar topics

0
2351
by: CSDunn | last post by:
Hello, In Access ADP's that connect to SQL Server databases, any time I have a situation where I have a combo box in a main form that looks up a record in a subform, the subform record source has to be based on either a View or a Table. I can almost always use a View, and it helps to do this since I can have better control over the size of the RecordSet of the subform. There are times when the use of a Stored Procedure would give me...
2
343
by: Claude | last post by:
Let' say we have an application for a production facility running 24/7 broken into 3 shifts 6-2,2-10,10-6 each production report date contains 3 shifts as above in each shift there can be from one to several different product runs (the average is about 4) but it could be more or less - it's not defined or definite for many reasons Then, for each run there is a production report of product, good pieces,
1
8509
by: John Michael | last post by:
I have a form that has a subform that has a subform. The subform loads a record based on a combo lookup box in the main form. I'm trying to set a value in the subform based on a value in a subform of the subform. the main Form is called Subform is called Subform in the subform is called
6
3945
by: Sally | last post by:
I need to be able to click in a subform and run code but at the same time I need to be able to scroll the records without running the code. I tried coding the Enter event of the subform control but when I try to scroll the records the code runs. The subform is continuous; all the controls are on one line and the detail section is not exsposed above or below the controls. I tried coding the detail Click event but nothing happened. I tried...
1
3235
by: google | last post by:
I have a form with several subforms. Users enter the data, then on the parent there is a command button that runs code to generate a .pdf document from a report based on the data they are working with. If a user enters data in a subform, then directly clicks the command button on the parent form, the data in the subform is not included in their document. I THOUGHT that as soon as focus left the subform, any pending changes to the data...
9
9693
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a master-child link to the first subform. subform2 - Master Field: subTrainingModule.Form!TrainingModuleTopicSK Child Field: TrainingModuleTopicSK
7
12305
by: ApexData | last post by:
I am using the following code in my TabControl to manage subform loads. The code assigns the subForms SourceObject. - Do I also need code to DeAssign the SourceObject when leaving the Tab, I'm thinking the Table will stay open otherwise ??? - Do I also need to use code to Assign the Child&Master Links, or can I just type the names into the subForms Control Property and just depend on the SourceObject to link to Table???
4
5883
by: Henrootje | last post by:
I have a REPORT with in it a subFORM Now I have this label (lblMonth) that I want to change. How should I do this? What would be the proper event to do this? The lblMonth should contain the name of the month as jan 07 Any ideas?
1
3246
by: veteranwebdesign | last post by:
Hello, I have a main form. I want forms to open in a subform control box. What is the code for the option group to open the subforms in the control box. I didn't create subforms, I created regular forms, but will create subforms if that is needed for this to work. My main goal is when a user clicks on a menu item and comes to a main
0
8860
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抣l explore What is ONU, What Is Router, ONU & Router抯 main usage, and What is the difference between ONU and Router. Let抯 take a closer look ! Part I. Meaning of...
0
8739
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9382
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9236
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
9154
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
5995
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();...
1
3207
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
2601
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2147
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.