AX2009-str数据类型限制 [英] AX2009 - str data type limit

查看:93
本文介绍了AX2009-str数据类型限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在AX2009中,str数据类型的大小是否有限制?

Is there any limit on the size of the str data type in AX2009?

还有扩展数据类型(Memo),可以由扩展数据类型继承. (备注)继承的扩展数据类型和str数据类型之间有什么区别? (备忘录)还不是str数据类型吗?

There is also the extended data type (Memo) which can be inherited by extended data types. What is the difference between a extended data type inherited by (Memo) and the str data type? As is not (Memo) also just a str data type?

推荐答案

限制:是和否.
出于实际目的,它是不受限制的,但是X ++运行时有一定的限制,您可以通过向strrep函数提供较大的值来找到它,直到遇到错误为止.

For the limit: Yes and no.
For practical purposes it is unlimited but the X++ runtime has a certain limit which you can find out by feeding large values to the strrep function until you will encounter errors.

在X ++中,所有基于字符串的EDT本质上都被映射"为str,但是在UI中呈现时,导致数据库后端中的列类型不同或控件属性不同. 因此,在考虑使用X ++时,您可以将memo EDT视为与str相同,但是请注意,它们来自AX的不同领域"-str是X ++的字符串类型,用于构建在对AX的数据库和UI部分进行建模时,AX和memo中的业务逻辑是无限字符串的基本EDT.

All EDTs based on strings are essentially 'mapped' to str in X++ but result in different column types in the database backend or different control properties when rendered in the UI.
So when considering X++, you can treat a memo EDT as the same as str but please notice that they come from different 'realms' of AX - str is the string type of X++ which is used for building up the business logic in AX and memo is the base EDT for unlimited strings when modelling the database and UI part of AX.

这篇关于AX2009-str数据类型限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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