12 2011 档案
摘要:journalBom.InventConsump =decround( UnitConvert::qty(journalBOM.BOMConsump, journalBOM.BOMUni...
阅读全文
摘要:USE [DEV] GO /****** Object: StoredProcedure [dbo].[GetInventTable] Script Date: 12/22/2011 14:51:56 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER procedure [d...
阅读全文
摘要:static void totalEng(Args _args) { int sLen,sFind,sFindA,sFindB; str num2En,num2En_int,num2EnA,num2EnB,num2EnA_1,num2EnB_1,num2En_F; real...
阅读全文
摘要:static void NJ_MF_CheckAllTable(Args _args) { inventtable invent; Dictionary dictionary = new Dictionary(); DictTable dictTable; int...
阅读全文
摘要:static void NJ_MF_CheckProShape(Args _args) { NJ_Search_Inventory NJ_Search_Inventory; #AviFiles str s,tempStr; int...
阅读全文
摘要:static void NJ_MF_CleanRepeat(Args _args) { NJ_sInventTable NJ_sInventTable; // NJ_sSetting NJ_sSetting,curNJ_sSetting; //镶口 NJ_sHead N...
阅读全文
摘要:str parmBatchId() { str 1000 tmpStr; ; tmpStr = batchId; tmpStr = strReplace(tmpStr,num2char(10),","); tmpStr = strReplace(tmpStr,num2char(13),","); tmpStr...
阅读全文
摘要:public void dialogPostRun(DialogRunbase dialog) { ; super(dialog); dialog.formRun().controlMethodOverload(true); dialog.formRun().controlMethodOverloadObject(this); ...
阅读全文
摘要:class NJ_MF_BatchReport_class extends runBaseReport { FormStringControl ctlProdDate; // ************************************** void prodDate_Lookup() { ; ctlProdDat...
阅读全文
摘要:public void run() { super(); this.design().colorScheme(2); this.design().backgroundColor(winapi::RGB2int(255, 0, 255)); // CRP /* switch (curEXT()) { ...
阅读全文
摘要:USE [DEV] GO /****** Object: UserDefinedFunction [dbo].[GetTableId] Script Date: 12/21/2011 17:34:22 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ===============...
阅读全文
摘要:USE [DEV] GO /****** Object: UserDefinedFunction [dbo].[FormatSQL] Script Date: 12/21/2011 17:32:05 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER function [dbo...
阅读全文
摘要:USE [DEV] GO /****** Object: UserDefinedFunction [dbo].[FormatStr] Script Date: 12/21/2011 17:32:18 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER function [dbo...
阅读全文
摘要:public static boolean isIncludesInUserGroup(userID _userid,userGroupID _UserGroup) { userGroupList userGroupList; boolean ret; ; select firstonly grou...
阅读全文
摘要:// Changed on 20 May 2006 at 07:02:15 by ZYJ // 论坛:www.qiuhao.com // 博客:http://www.qiuhao.com/boke.asp?maxfara.index.html // 邮箱:Zhouyujie238@hotmail.com //本函数来自andy的代码 //出处:http://www.qiuh...
阅读全文
摘要:// Changed on 20 May 2006 at 07:02:15 by ZYJ // 论坛:www.qiuhao.com // 博客:http://www.qiuhao.com/boke.asp?maxfara.index.html // 邮箱:Zhouyujie238@hotmail.com//BestPractice: //优先使用MenuFunction 来调用对象; //在不能使用MenuFunction的时候,使用classFactory进行调用; //不能使用classFactory的时候,再考虑直接使用new FormRun/ReportRun ; static voi
阅读全文
摘要:开发SSRS时放在 vs2005: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies vs2008: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies 发布到服务器时放在: SQL2005: C...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlTypes; using System.Drawing; using Syst...
阅读全文
摘要:ALTER proc [dbo].[NJ_AddWhere] @strSQL varchar(256) output, @isWhere bit output as begin if @isWhere = 0 begin set @strSQL = @strSQL + ' Where '; set @is...
阅读全文
摘要:static void ExampleLedgerJournal(Args _args) { LedgerJournalName ledgerJournalName; LedgerJournalTable ledgerJournalTable; LedgerJour...
阅读全文
摘要:参考MSDN: http://msdn.microsoft.com/en-us/library/ms916837.aspx#sharepoint_debugwebparts_topic6
阅读全文
摘要:public void modifiedField(fieldId _fieldId) { super(_fieldId); switch (fieldExt2Id(_fieldId)) { case fieldnum(InventTable, ItemId): this.ItemName = thi...
阅读全文
摘要:select top 10 * from inventTable Order By ItemID select top 5 * from inventTable order by ItemID select top 5 * from inventTable where RecID not in(select top 5 RecID ...
阅读全文
摘要:#server static void markEmailAs(SysEmailItemId _emailItemId,SysEmailStatus _emailStatus, boolean _increaseRetryCount = false) #{ # SysOutgoingEmailTable outgoingEmailTable; ...
阅读全文
摘要:查询TableID需求查找SqlDictionary这个表,其中可能会有多条Name相同的记录。而Field为0则表示tableID Select * From SqlDictionary Where Field = 0 And Name = ‘InventTable’ 这样,返回的记录则是InventTable的表ID了
阅读全文
摘要:正确地把电池串联和并联起来 2009-12-22 17:21:38| 分类: 电源、电池及充电|字号 订阅 来源:便携产品设计 作者:Isidor Buchmann 把电池串联和并联起来使用,这听起来好象很简单,但是,遵循一些简单的规则,就可以避免不必要的问题。 在电池组中是把多个电池串联起来,得到所需要的工作电压。如果所需要的是更高的容量和更大的电流,那就应该把电...
阅读全文
摘要:public static anytype invokeObjectMethod(Object _object, identifiername _methodName, boolean _tryBaseClass = false) { DictClass dictClass = new DictClass(classidget(_object)); DictCla...
阅读全文
摘要:qbrDimension5 = qbdsProdtable.addRange(fieldid2ext(fieldnum(prodTable,Dimension),5));
阅读全文
摘要:void SetControls(Object o) { FormBuildControl formBuildControl; SysDictClass sysDictClass = new SysDictClass(o.handle()); int i; ; if ( sysDictC...
阅读全文
摘要:public static client void expandTree(FormTreeControl _formTreeControl, TreeItemIdx _treeItemIdx, int _toLevel = 0, int _level = 0) { FormTreeItem formTreeItem; TreeItemIdx treeItemId...
阅读全文
摘要:void printControls(Object o,str name) { FormBuildControl formBuildControl; int i; ; setprefix( "Group :" + name ); for (i=1;i<=o.controlCount(); i++) { f...
阅读全文
摘要:void clicked(){ Common common; container c; ; c = WinAPI::chooseColor(this.hWnd(),0,0,0,NULL); if(conlen(c)) { backColor = WinAPI::RGB2int( conpeek(c,1), conpeek(c,2), conpeek(c,3)); // Clear the display options for the once which allready has been set. for(common = custTable_ds.getFirst(); common;
阅读全文
摘要:emplTable=EmplTable::find(SysCompanyUserInfo::find(CurUserId()).EmplId);
阅读全文
摘要:cls @echo off CLS color 0a echo 取消DLL文件的注册... regsvr32 /u /s "%cd%/vmappcfg.dll" regsvr32 /u /s "%cd%/vmappsdk.dll" regsvr32 /u /s "%cd%/vmdbCOM.dll" regsvr32 /u /s "%cd%/vmhwcfg.dll" regsvr32 /u /s "%cd%\V2V\IntraProcessLogging.dll" regsvr32 /u /s &
阅读全文
摘要:static void NJ_MF_CheckAllTable(Args _args) { inventtable invent; Dictionary dictionary = new Dictionary(); DictTable dictTable; int...
阅读全文
摘要:alter procedure GetTempDataOfCancelProd (@ProdId varchar(500) = null) as begin declare @SqlStr varchar(1000) set @SqlStr = 'select a.Prodid...
阅读全文
摘要:在Form的Grid中使用Display方法有两种方案: 1.将disp方法放在table中。 2.将disp方法放在DataSource中。 在Ds中写disp方法时要注意,此处disp方法需要指定参数。否则GRid中字段会随光标改变而变动. 在此不能使用this来引用数据源了,而要声明一个与数据源相同的表变量作为参数。
阅读全文
摘要://breakpoint; //-------------------行数 m_qrCount = new QueryRun(NJ_MF_SilverModelInventory_ds.queryRun().query().pack()); m_qbdsCount = m_qrCount.query().dataSourceNo(1); ...
阅读全文
浙公网安备 33010602011771号