2401_zh-CN
同时从2个数据表中访问2个具有相同名称的列我有两个数据文件,按设计,具有相同的列名。如何引用IF语句中的每一列,以避免含糊不清的引用...
我希望能够做这样的事......
IF(dt1.weight == dt2.weight,Re:从2个数据表中同时访问2个具有相同名称的列
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; color:black; font-family:Helvetica,Arial,sans-serif;”>你
可以使用列功能
style =“font-size:10pt; color:navy; font-family:Helvetica,Arial,sans-serif;”>:
style =“font-size:10pt; color:black; font-family:Helvetica,Arial,sans-serif;”>
style =“font-family:Helvetica,Arial,sans-serif;”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”> c1
style =“font-size:10pt; font-family:”Courier New“; color:navy;”> =
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“;颜色:rgb(0,0,221);”>列
style =“font-size:10pt; font-family:”Courier New“; color:black;”>(
style =“font-size:10pt; font-family:”Courier New“; color:black;”> dt1
style =“font-size:10pt; font-family:”Courier New“; color:navy;”>,
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“;颜色:紫色;”>“重量”
style =“font-size:10pt; font-family:”Courier New“; color:black;”>)
style =“font-size:10pt; font-family:”Courier New“; color:navy;”>;
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
风格= “”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
风格= “”>
style =“font-size:10pt; font-family:”Courier New“; color:green;”> //
表dt1中的重量列
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”> c2
style =“font-size:10pt; font-family:”Courier New“; color:navy;”> =
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“;颜色:rgb(0,0,221);”>列
style =“font-size:10pt; font-family:”Courier New“; color:black;”>(
style =“font-size:10pt; font-family:”Courier New“;颜色:黑色;”> dt2
style =“font-size:10pt; font-family:”Courier New“; color:navy;”>,
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“;颜色:紫色;”>“重量”
style =“font-size:10pt; font-family:”Courier New“; color:black;”>)
style =“font-size:10pt; font-family:”Courier New“; color:navy;”>;
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
风格= “”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
风格= “”>
style =“font-size:10pt; font-family:”Courier New“; color:green;”> //
表dt2中的重量列
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; font-family:”Courier New“; color:black;”> c1
style =“font-size:10pt; font-family:”Courier New“; color:navy;”> <<
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
设置已选中
style =“font-size:10pt; font-family:”Courier New“; color:navy;”>;
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
风格= “”>
style =“font-size:10pt; font-family:”Courier New“; color:green;”> //
选择表dt1中的列权重
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-size:10pt; line-height:115%; font-family:”Courier New“; color:black;”> c2
style =“font-size:10pt; line-height:115%; font-family:”Courier New“; color:navy;”> <<
style =“font-size:10pt; line-height:115%; font-family:”Courier New“;颜色:黑色;”>
设置已选中
style =“font-size:10pt; line-height:115%; font-family:”Courier New“; color:navy;”>;
style =“font-size:10pt; line-height:115%; font-family:”Courier New“;颜色:黑色;”>
风格= “”>
style =“font-size:10pt; line-height:115%; font-family:”Courier New“; color:green;”> //
在dt2中选择列权重
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
style =“font-family:Helvetica,Arial,sans-serif;”>
问候,
style =“font-family:Helvetica,Arial,sans-serif;”>
style =“font-family:Helvetica,Arial,sans-serif;”>彼得
style =“font-size:10pt; font-family:”Courier New“; color:black;”>
Comments
There are no comments yet