在屏幕上的字段上设置默认值 [英] Set Default Values on Fields within a Screen

查看:99
本文介绍了在屏幕上的字段上设置默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我几天前都在google上搜索了此主题,但是

我在我的对象上附加了一个外部SQL DB表可以存储按主题字段排序的某些信息.
我在屏幕上过滤了这些主题(我有一个屏幕每个主题).
当用户现在添加新信息时,我要设置
提前感谢
Michael

Hello,

i checked google about this topic now for a few days, but cant get a solution..

I have a external SQL DB Table attached to my poject where i can store some Informations sorted by a topic-field.
i filter these topics in my screens (I have one screen for each topic).
When the user now adds a new information, i want to set the Topic field automaticly with a string in the background.

Thanks in advance
Michael

推荐答案

在实体设计器中,您可以单击编写代码并选择< entity> _created方法.

In the entity designer, you can click write code and select the <entity>_created method.

您可以在其中提供用于为您的实体提供默认值的逻辑.

There you can provide logic for providing default values to your entity.


这篇关于在屏幕上的字段上设置默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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