- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
如何连接变量?
您好,有没有办法像您在 Excel 中那样连接变量? 假设我想做 year(column_name) &" -"& floor(field_name)? 我正在为我创建的新列尝试这个,我想输入一个类似的公式
谢谢
This post originally written in English (US) has been computer translated for you. When you reply, it will also be translated back to English (US).
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: 如何连接变量?
字符串连接运算符是两个竖线:||
请注意,如果您想连接一个数字,您必须先使用 CHAR() 函数将其转换为字符串。所以你的例子是:
字符(年(列名)) || “——” ||字符(地面(字段名))
如果您的表中有名为列名和字段名,则列公式为:
字符(年( :列名)) || “——” ||字符(地面( :字段名))
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: 如何连接变量?
字符串连接运算符是两个竖线:||
请注意,如果您想连接一个数字,您必须先使用 CHAR() 函数将其转换为字符串。所以你的例子是:
字符(年(列名)) || “——” ||字符(地面(字段名))
如果您的表中有名为列名和字段名,则列公式为:
字符(年( :列名)) || “——” ||字符(地面( :字段名))
This post originally written in English (US) has been computer translated for you. When you reply, it will also be translated back to English (US).