设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
查看: 1376|回复: 3
打印 上一主题 下一主题

[其它] 在做access时遇到的两个问题,请大家指教!

[复制链接]
跳转到指定楼层
1#
发表于 2004-8-19 16:09:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.在access中怎么将货币转化成数值,然后参与计算,用什么函数?最后又什么把数值转换成货币符号?

2.如何在access中实现日期的减法运算,运用什么函数?

小弟刚上手,还部怎么理解accsee,希望能得到大家的指导。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 订阅订阅
2#
发表于 2004-8-19 16:14:00 | 只看该作者
1、货币类型数据可以直接参与计算2、请参阅:http://www.accfans.net/bbs/Announce/Announce.asp?BoardID=107&ID=114
3#
发表于 2004-8-19 17:17:00 | 只看该作者
请用 SyntaxDateDiff(interval, date1, date2[, firstdayofweek[, firstweekofyear]])The DateDiff function syntax has these named argumentsart Description

interval Required. String expression that is the interval of time you use to calculate the difference between date1 and date2.

date1, date2 Required; Variant (Date). Two dates you want to use in the calculation.

firstdayofweek Optional. A constant that specifies the first day of the week. If not specified, Sunday is assumed.

firstweekofyear Optional. A constant that specifies the first week of the year. If not specified, the first week is assumed to be the week in which January 1 occurs.

SettingsThe interval argument has these settings:Setting Description

yyyy Year

q Quarter

m Month

y Day of year

d Day

w Weekday

ww Week

h Hour

n Minute

s Second[em05]
4#
发表于 2004-8-19 19:32:00 | 只看该作者
[em06]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-9-23 05:15 , Processed in 0.090049 second(s), 27 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表