|
查看: 1223|回复: 9
|
Ms Access 疑問
[复制链接]
|
|
|
发表于 10-12-2008 01:37 AM
|
显示全部楼层
原帖由 lkh83 于 3-12-2008 10:56 AM 发表 
我想我懂你要什么了 。 。 。
You want to create a table with several fields, and fromt he table itself you want to give oprtion to choose, not from a front end.
OK, you can do this way, create ...
請問你MSN?
我們在那裡談好嗎?
MSN: hata909@gmail.com
謝謝 |
|
|
|
|
|
|
|
|
|
|
請問怎麼在access中弄,
1) fields like state with options avail, instead of key in?
2) customize ID & date display format? eg. ABC001, instead of oo1...
謝謝大家賜教 |
|
|
|
|
|
|
|
|
|
|
发表于 29-11-2008 12:50 PM
|
显示全部楼层
Q1. 不晓得你的avail什么meaning, 不过if want to have opetion on a fields or forms then you can use combo box and call a query on it on the option you want to give.
Q2. you can search on help of Access, either Format([yourfield]) for Date, and then VAL([yourfield]) for other option, you can search from help. |
|
|
|
|
|
|
|
|
|
|
发表于 29-11-2008 01:19 PM
|
显示全部楼层
|
在general tab 那边,format 的field 放 "ABC"001, 那就可以了。 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 29-11-2008 02:12 PM
|
显示全部楼层
回帖
「lkh83」
avail= available.
1) 如在main table key in時,如state field我想預設一些data eg..selangor, KL,Perak etc.請問我可以怎麼弄?有幾種方法可以達成任務?
2)我會去找找的。謝謝。
「evo9」
對不起,可以請您詳說嗎?
個人發現, 如在format tab set value to "ABC"001 save changes時
auto變成 "ABC"00\1,output就會是 ABC011, ABC021…(autonumber)
[ 本帖最后由 hata1909 于 29-11-2008 02:13 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
发表于 1-12-2008 10:43 AM
|
显示全部楼层
Q1. 如果你是在forms, 做一个Front End让人key in detail and save in your database then you can try below :
1.Create a form.
2.Create a combo box, in combo box wizard there will have 3 options for you to choose, to select option from a query?, to select option from the value you typed ? or find a value from a form based to select.
For your case, I believed you can choose 2nd option since you already know all your value to allow to choose.
Hope this will help ... |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 1-12-2008 02:33 PM
|
显示全部楼层
原帖由 lkh83 于 1-12-2008 10:43 AM 发表 
Q1. 如果你是在forms, 做一个Front End让人key in detail and save in your database then you can try below :
1.Create a form.
2.Create a combo box, in combo box wizard there will have 3 options for ...
combo box的作法,我試過了。
如我没create forms with front end,
a) can i create a table with data eg..perak, pahang...etc
then make it link back to "State" in main table? so that when i key in data in main table, when comes to "State"
i can select the options available there. |
|
|
|
|
|
|
|
|
|
|
发表于 3-12-2008 10:56 AM
|
显示全部楼层
我想我懂你要什么了 。 。 。
You want to create a table with several fields, and fromt he table itself you want to give oprtion to choose, not from a front end.
OK, you can do this way, create a new table in design view then on the field you want to give option click on lookup tab and change it into combobox instead on text box. From there then you can choose like what you did in forms, you can choose row source, you should able to follow up from there now.... |
|
|
|
|
|
|
|
|
|
|
发表于 12-12-2008 12:01 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 18-12-2008 02:15 PM
|
显示全部楼层
原帖由 lkh83 于 12-12-2008 12:01 AM 发表 
也可以的!等我add了你再和你聊!
先生,感謝你的回應。
可惜,我没有你的MSN id. |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|