减少需要的人口帮助 - 谢谢 [英] drop down population help needed - thanks
问题描述
在我的数据库中,我有一个组件类型列表,例如A型 - 我有8折
- 类型BI有12个等等。
我正在使用
设置objRS = objDC.Execute("选择DISTINCT Component_Type FROM
Parts_Table")
填充下拉列表但想要使用几个drop降价
将每个下拉列表的内容限制为与一个
特定组件类型相关的记录,例如仅针对类型A下拉,仅针对类型B下拉
等
如果可以这样做怎么办?
我想做的另一件事是添加价格字段到下拉列表
(一个下拉列表中的两个字段)就是通过分隔字段来完成
a","?
你有两个选择。
1)做服务器端。只显示第一个下拉框,然后选择
时,将表单发回给自己,并准备/出示
第二个表格。
2)做客户端。这是最常见的方法,你会在网上看到很多
的例子。
Tom B
王国 <き******* @ removehotmail.com>在留言中写道
新闻:Xn ***************************** @ 194.117.133.1 34 .. 。
在我的数据库中,我有一个组件类型列表,例如A型 - 我有8次关闭 - 类型BI有12次关闭等
我正在使用
设置objRS = objDC.Execute(" Select DISTINCT Component_Type FROM
Parts_Table")
填充下拉菜单但想使用几个下拉菜单
将每个下拉内容限制为与$ b $相关的记录b一个特定的组件类型,例如仅针对A型下拉,仅针对类型B
如果是这样可以如何实现?
其他我喜欢做的是将价格字段添加到下拉列表中
(一个下拉列表中的两个字段)只需将字段
分隔为,?
" Tom B" < SH ***** @ hotmail.com>写在
新闻:Oc ************** @ TK2MSFTNGP09.phx.gbl:
你有两个选择。
1)做服务器端。只显示第一个下拉框,然后当选择完成后,将表单发回给自己,并准备/呈现第二个表单。
2)做客户端。这是最常见的方法,你会在网上看到大量的例子。
Tom B
王国 <き******* @ removehotmail.com>在消息中写道
新闻:Xn ***************************** @ 194.117.133.1 34 ...
在我的数据库中,我有一个组件类型列表,例如A型 - 我有8个off-type BI有12个等等。
我正在使用
设置objRS = objDC.Execute(" Select DISTINCT Component_Type FROM
Parts_Table")
要填充下拉菜单但想使用几个下拉菜单
将每个下拉内容限制为相关的记录
一个特定的组件类型,例如只有A类下拉,仅适用于类型B等
这可以如果是这样的话怎么办?
我喜欢做的另一件事就是将价格字段添加到下拉列表中(一个下拉列表中的两个字段)这样做只需要分开
字段
bya","?
Don我不想在服务器上做,不想刷新页面直到我
获得所有选择。
告诉我我可以在网上找到它有点l ike告诉我搜索
引擎找东西,我知道会有数百万人这样做
但是我问这里因为我在这里可以和一个人沟通而不是/>
查看一些不相关的网页。
-
我们都在阴沟里,但有些人正在看星星。
===================================== ============= =======================
Walrus Home alt.binaries。 pictures.wallpaper< =每周末在这里投票。
每周参赛作品发布在
http://web.newsguy.com/evilsideshowbob/entries.html
常见问题解答 http://members.rogers.com/heretic54/
(最新版本是发表在alt.binaries.pictures.wallpaper
周一和周四。请在发布前阅读)
Walrus网站: http:// web .newsguy.com / evilsideshowbob /
For Contest Archives&艺术家 http://www.weeklywalrus.com
对于参赛者地图 http://members.shaw.ca/weeklywalrus/home.html
然后你需要引用一个客户端新闻组。
或者,找一个你喜欢的网站,看一下来源。
" Kingdom" <き******* @ removehotmail.com>在留言中写道
新闻:Xn ***************************** @ 194.117.133.1 34 .. 。" Tom B" < SH ***** @ hotmail.com>在
新闻中写道:Oc ************** @ TK2MSFTNGP09.phx.gbl:
你有两个选择。
1)做服务器端。只显示第一个下拉框,然后当选择完成后,将表单发回给自己,并准备/呈现第二个表单。
2)做客户端。这是最常见的方法,你会在网上看到大量的例子。
Tom B
王国 <き******* @ removehotmail.com>在消息中写道
新闻:Xn ***************************** @ 194.117.133.1 34 ...
在我的数据库中,我有一个组件类型列表,例如A型 - 我有8个off-type BI有12个等等。
我正在使用
设置objRS = objDC.Execute(" Select DISTINCT Component_Type FROM
Parts_Table")
要填充下拉菜单但想使用几个下拉菜单
将每个下拉内容限制为相关的记录
一个特定的组件类型,例如只有A类下拉,仅适用于类型B等
这可以如果是这样的话怎么办?
我喜欢做的另一件事就是将价格字段添加到下拉列表中(一个下拉列表中的两个字段)这样做只需要分开
字段
bya","?
不要在服务器端做,不想刷新页面,直到我得到所有的选择。
告诉我,我可以在网上找到它有点像告诉我s earch
引擎找到的东西,我知道会有数百万人这样做
但我在这里问,因为在这里我可以与一个人沟通,而不是看一些不相关的网页。
-
我们都在阴沟里,但我们中的一些人正在看星星。
============== ==================================== ============== =========
Walrus Home alt.binaries.pictures.wallpaper< =每周末在这里投票。
每周参赛作品发布在
http://web.newsguy.com/evilsideshowbob/entries.html
常见问题解答在 http://members.rogers.com/heretic54/
(最新版本发布于星期一和星期四的alt.binaries.pictures.wallpaper
。请在发布前阅读)
Walrus网站: http://web.newsguy.com / evilsideshowbob /
对于竞赛档案&艺术家 http://www.weeklywalrus.com
对于参赛者地图 http://members.shaw.ca/weeklywalrus/home.html
In my data base I have a list of componet types e.g. type A - I have 8 off
- type B I have 12 off etc.
I''m using
Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM
Parts_Table")
to populate a drop down but would like to use several drop downs
restricting the contents of each drop down to the records pertaining to one
particular componet type eg a drop down only for type A, only for type B
etc.
can this be done if so how?
The other thing I like to do is add the price field to the drop down list
(two fields in one drop down) is this done just by seperating the fields by
a ","?
You have two choices.
1) Do it server-side. Display just the first drop down box, then when a
selection is made, post the form back to itself, and prepare/present the
second form.
2) Do it client-side. This is the most common approach, and you''ll see tons
of examples on the web.
Tom B
"Kingdom" <ki*******@removehotmail.com> wrote in message
news:Xn*****************************@194.117.133.1 34...
In my data base I have a list of componet types e.g. type A - I have 8 off
- type B I have 12 off etc.
I''m using
Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM
Parts_Table")
to populate a drop down but would like to use several drop downs
restricting the contents of each drop down to the records pertaining to one particular componet type eg a drop down only for type A, only for type B
etc.
can this be done if so how?
The other thing I like to do is add the price field to the drop down list
(two fields in one drop down) is this done just by seperating the fields by a ","?
"Tom B" <sh*****@hotmail.com> wrote in
news:Oc**************@TK2MSFTNGP09.phx.gbl:
You have two choices.
1) Do it server-side. Display just the first drop down box, then when
a selection is made, post the form back to itself, and prepare/present
the second form.
2) Do it client-side. This is the most common approach, and you''ll
see tons of examples on the web.
Tom B
"Kingdom" <ki*******@removehotmail.com> wrote in message
news:Xn*****************************@194.117.133.1 34...
In my data base I have a list of componet types e.g. type A - I have
8 off - type B I have 12 off etc.
I''m using
Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM
Parts_Table")
to populate a drop down but would like to use several drop downs
restricting the contents of each drop down to the records pertaining
to
oneparticular componet type eg a drop down only for type A, only for
type B etc.
can this be done if so how?
The other thing I like to do is add the price field to the drop down
list (two fields in one drop down) is this done just by seperating
the fields
bya ","?
Don''t want to do it serverside, don''t want to refresh the page untill I
get all the selections.
Telling me that I can find it on the web is a bit like telling me search
engines find things, I know there will be millions of people doing this
but I asked here because here I can communicate with a person rather than
look at some unrelated webpage.
--
We are all in the gutter, but some of us are looking at the stars.
================================================== =======================
Walrus Home alt.binaries.pictures.wallpaper <=vote here every weekend.
weekly entries posted on
http://web.newsguy.com/evilsideshowbob/entries.html
FAQ found at http://members.rogers.com/heretic54/
(The most up to date version is posted in alt.binaries.pictures.wallpaper
on Mondays and Thursdays. PLEASE READ BEFORE POSTING)
Walrus websites: http://web.newsguy.com/evilsideshowbob/
For Contest Archives & Artists http://www.weeklywalrus.com
For contestants map http://members.shaw.ca/weeklywalrus/home.html
Then you need to refer to a client side newsgroup.
Or, find a website that does what you like, and look at the source.
"Kingdom" <ki*******@removehotmail.com> wrote in message
news:Xn*****************************@194.117.133.1 34..."Tom B" <sh*****@hotmail.com> wrote in
news:Oc**************@TK2MSFTNGP09.phx.gbl:You have two choices.
1) Do it server-side. Display just the first drop down box, then when
a selection is made, post the form back to itself, and prepare/present
the second form.
2) Do it client-side. This is the most common approach, and you''ll
see tons of examples on the web.
Tom B
"Kingdom" <ki*******@removehotmail.com> wrote in message
news:Xn*****************************@194.117.133.1 34...
In my data base I have a list of componet types e.g. type A - I have
8 off - type B I have 12 off etc.
I''m using
Set objRS = objDC.Execute("Select DISTINCT Component_Type FROM
Parts_Table")
to populate a drop down but would like to use several drop downs
restricting the contents of each drop down to the records pertaining
to
oneparticular componet type eg a drop down only for type A, only for
type B etc.
can this be done if so how?
The other thing I like to do is add the price field to the drop down
list (two fields in one drop down) is this done just by seperating
the fields
bya ","?
Don''t want to do it serverside, don''t want to refresh the page untill I
get all the selections.
Telling me that I can find it on the web is a bit like telling me search
engines find things, I know there will be millions of people doing this
but I asked here because here I can communicate with a person rather than
look at some unrelated webpage.
--
We are all in the gutter, but some of us are looking at the stars.
================================================== =======================
Walrus Home alt.binaries.pictures.wallpaper <=vote here every weekend.
weekly entries posted on
http://web.newsguy.com/evilsideshowbob/entries.html
FAQ found at http://members.rogers.com/heretic54/
(The most up to date version is posted in alt.binaries.pictures.wallpaper
on Mondays and Thursdays. PLEASE READ BEFORE POSTING)
Walrus websites: http://web.newsguy.com/evilsideshowbob/
For Contest Archives & Artists http://www.weeklywalrus.com
For contestants map http://members.shaw.ca/weeklywalrus/home.html
这篇关于减少需要的人口帮助 - 谢谢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!