强制.DefaultValue为字符串 [英] Force .DefaultValue to be a string

查看:132
本文介绍了强制.DefaultValue为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个子,以确定加班是否已在某项工作中发挥作用。如果(预先批准)超时已经开始,则可以从检查加班津贴的查询中自动填充下一个(子表格)记录。这是代码。

I have a sub to determine if overtime has come into play yet on a certain job. If (preapproved) overtime has started then the next (subform) record can automatically be populated from a query checking the overtime allowance. Here is the code.

展开 | 选择 | Wrap | 行号

推荐答案

是否有助于添加文本分隔符到分配给DefaultValue属性的字符串?


问候,

鱼。
Does it help to add text delimiters to the string assigned to DefaultValue property?

Regards,
Fish.


尝试
Ex pand | 选择 | Wrap | 行号


感谢ChipR和FishVal我从来没有尝试过,因为最初我想的是一组引号本来是一个字面上的刺,但我从不想到", &安培;那谢谢啦。效果很好。
Thanks ChipR and FishVal i never tried it, because originally i thinking about 1 set of quotes which would have been a literal sting but i never thought about """" & so thanks. It worked great.


这篇关于强制.DefaultValue为字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆