Query Table Element

void go()
{
TableId tableId;
DictTable dictTable;
DictField dictField;
FieldId fieldId;
int num;
int i;
;

delete_from JAY_TableElement;

tableId = tablename2id(TableName.text());
dictTable = new DictTable(tableId);

num = dictTable.fieldCnt();

for(i=0; i<num; i++)
{
fieldId = dictTable.fieldCnt2Id(i);
dictField = new DictField(tableId, fieldId);

if(dictField.isSystem() == false)
{
JAY_TableElement.clear();
JAY_TableElement.LineNo = i;
JAY_TableElement.Name = dictField.name();
JAY_TableElement.Label = dictField.label();
JAY_TableElement.Type = enum2str(dictField.basetype());
JAY_TableElement.StringSize = dictField.stringLen();
JAY_TableElement.EnumName = enumid2name(dictField.enumId());
JAY_TableElement.doInsert();
}
}

JAY_TableElement_ds.executeQuery();
}

时间: 2024-08-24 05:15:44

Query Table Element的相关文章

Table Properties [AX 2012]

Table Properties [AX 2012] 1 out of 2 rated this helpful - Rate this topic Updated: July 20, 2012 Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012 This topic describes the properties that

HTML table元素

搬运,内容来自HTML Dog. 简单示例 <!DOCTYPE html> <html> <body> <table> <tr> <td>Row 1, cell 1</td> <td>Row 1, cell 2</td> <td>Row 1, cell 3</td> </tr> <tr> <td>Row 2, cell 1</td&g

sqlite query用法

本文转自http://blog.csdn.net/double2hao/article/details/50281273,在此感谢作者 首先我们假设我们有如下表格,表格名称“Employees”: Id LastName FirstName Address City 1 Adams John Oxford Street London 2 Bush George Fifth Avenue New York 3 Carter Thomas Changan Street Beijing SQL基本格式

一个table插件,用于bootstrap开发

最近项目中改用bootstrap,可以给的通用table,写的有点死,id名称是固定的,那一个页面两个table如何做呢? ok,模仿着别人的代码,写了一个,整体代码如下: 1 ; 2 (function(factory) { 3 if (typeof define === 'function' && define.amd) { 4 // AMD. Register as anonymous module. 5 define([ 'jquery' ], factory); 6 } else

WPF中,Grid与Table的区别(英文)-转载

原文地址:http://blog.csdn.net/johnsuna/article/details/1742799 How is Grid Different from Table?Table and Grid share some common functionality, but each is best suited for different scenarios.(1)Grid derives from the Panel element, it defines a flexible

sqlite 中的query操作

query()方法实际上是把select语句拆分成了若干个组成部分,然后作为方法的输入参数: SQLiteDatabase db = databaseHelper.getWritableDatabase(); Cursor cursor = db.query("person", new String[]{"personid,name,age"}, "name like ?", new String[]{"%传智%"}, nul

jstl中的sql:query标签获取的结果如何格式化输出

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.io.*,java.util.*,java.sql.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*&q

Professional C# 6 and .NET Core 1.0 - Chapter 41 ASP.NET MVC

What's In This Chapter? Features of ASP.NET MVC 6 Routing Creating Controllers Creating Views Validating User Inputs Using Filters Working with HTML and Tag Helpers Creating Data-Driven Web Applications Implementing Authentication and Authorization W

OData

http://scn.sap.com/docs/DOC-44986 Introduction OData services provide a uniform interface for interacting with their resources, and in addition are self-describing: The service document (located at the service root) lists the available top-level reso