上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要: 这里,就SqlServer,DBF两种格式的转化问题做个总结。 一: 从dBase文件中,导入数据到SQL数据库中,很简单,直接用下面的语句: /*===================================================================*/ --如果接受数据导入的表已经存在 insert into 表 select * from openrowset(... 阅读全文
posted @ 2011-04-17 23:01 覆雨翻云 阅读(4103) 评论(0) 推荐(0) 编辑
摘要: A DBF file consists of a header record and data records. The header record defines the structure of the table and contains any other information related to the table. The header record starts at file... 阅读全文
posted @ 2011-04-17 23:00 覆雨翻云 阅读(2833) 评论(0) 推荐(0) 编辑
摘要: 似乎是盘符被隐藏了,如果你装过虚拟光驱的话,可以尝试到计算机管理 - 磁盘管理 - 为没有盘符的U盘分配一个永远盘符。 如果还是不行的话,运行 - CMD - regedit,打开注册表,定位到: HEKY-CURRENT-USER\Software\microsoft\windows\currentversion\policies\explorer 分支。找到键值“NOdrives”,删除它。注... 阅读全文
posted @ 2011-04-17 22:58 覆雨翻云 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 一、数据录入1 在TcxGridDBTableView中,设定属性 NewItemRow.Visible = True2 在cxgrid中输入数据怎样回车换行 在TcxGridDBTableView中 将属性OptionsBehavior.FocusFirstCellOnNewRecord = True OptionsBehavior.GoToNextCellOnEnter = True OptionsBehavior.FocusCellOnCycle = True 就可以了.如果愿意也可以添加其自带的操作按钮,OptionsView.Navigator = True随后在NavigatorB 阅读全文
posted @ 2011-03-18 20:34 覆雨翻云 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 需检查是否是以下这些情况: 1.无主键 2.字段允许为空 3.字段类型不匹配 4.字段是不是精度不够。 5.ADO控件 CursorLocation的属性,默认值为“clUseClient”,应设为“clUseServer”。 帮助文档资料如下: Use CursorLocation to indicate whether the cursors that use the connection o... 阅读全文
posted @ 2011-03-09 16:46 覆雨翻云 阅读(13399) 评论(0) 推荐(0) 编辑
摘要: 1.147,258规则:下家丢1万,3、4、7万基本不吃,2、5万可能要吃; 2.牌过半旬,上家开始落风子,不要碰(碰听张除外); 3.牌局一直不胡,最好不要动牌,要打熟张,牌一动就有吃大牌的可能; 4.下家丢3、8万,有可能手握3、5、6、8万,打4、7万要小心一点; 5.下家丢8、9万,有可能手中还有4、7万,打4、7万要小心一点; 6.开始几圈,除嵌张、边张外,两头张最好不吃,先上别的张,等... 阅读全文
posted @ 2011-03-07 21:43 覆雨翻云 阅读(2682) 评论(0) 推荐(1) 编辑
摘要: 我有一个问题请教:我在BDEQUERY中使用其FILTER属性进行条件筛选时一切正常,但相同的条件拿到ADOQUERY中使用就出现错误,具体情况如下: 1、BDEQUERY和ADOQUERY指向同一个数据库,其中的SQL语句相同; 2、筛选条件如果是以下类型的情况都正确:       (字段1= 'AAA ')       (字段1= 'AAA ')   OR   (字段1= 'BBB ')   ... 阅读全文
posted @ 2011-01-18 17:06 覆雨翻云 阅读(4585) 评论(0) 推荐(0) 编辑
摘要: To scroll  the Grid programmatically, you should set the following Table Controller's properties:   1) LeftPos   2) TopRowIndex; Please note, the first property defines the position of the horizonta... 阅读全文
posted @ 2011-01-16 15:35 覆雨翻云 阅读(470) 评论(0) 推荐(0) 编辑
摘要: If you want your grid to have only a single detail View always expanded, there can be two different solutions to this problem: 1)  If you don't need automatic sorting, grouping, summary calculation i... 阅读全文
posted @ 2011-01-16 15:33 覆雨翻云 阅读(431) 评论(0) 推荐(0) 编辑
摘要: cxgrid 双击 获取所点击行的内容 创建view的 optionsselection-cellselect 设置为false ,才能触发双击事件 案例: procedure TForm_Child_Archive.cxGrid1DBTableView1CellDblClick(   Sender: TcxCustomGridTableView; ACellViewInfo: TcxGr... 阅读全文
posted @ 2011-01-15 20:03 覆雨翻云 阅读(2279) 评论(0) 推荐(0) 编辑
摘要: procedure TForm1.FormCreate(Sender: TObject);  begin     ADOQuery1.ExecuteOptions := [eoAsyncFetch];//设为异步读取  end;  //ADOQuery的OnFetchProgress事件  procedure TForm1.ADOQuery1FetchProgress(DataSet: TCust... 阅读全文
posted @ 2011-01-15 20:00 覆雨翻云 阅读(2997) 评论(0) 推荐(0) 编辑
摘要: 我想截取TDBGrid的消息,不知各高手能否指教。  是所有的吗? procedure MyProc(aHandle: HWND; msg: UINT; wParam: WPARAM;                  lParam: LPARAM); stdcall; begin   ....   //记得 CallWindowProc(t, aDBgrid.Handle, msg, wPara... 阅读全文
posted @ 2011-01-14 14:47 覆雨翻云 阅读(2343) 评论(0) 推荐(0) 编辑
摘要: 1.理论 只要两个表的公共字段有匹配值,就将这两个表中的记录组合起来。 个人理解:以一个共同的字段求两个表中符合要求的交集,并将每个表符合要求的记录以共同的字段为牵引合并起来。 语法 FROM table1 INNER JOIN table2 ON table1 . field1 compopr table2 . field2 INNER JOIN 操作包含以下部分: 部分 说明 table... 阅读全文
posted @ 2011-01-11 15:40 覆雨翻云 阅读(1931) 评论(0) 推荐(0) 编辑
摘要: 深圳供电局自动化分部 杨炯夫 ---- ACCESS是一个Client/Server的优秀前端开发工具,具有易学易用,界面友好,开发简单,和其他数据库接口灵活。但是,它要对大量数据处理时,速度比较慢。深圳供电局现有60万用户,下面有6个营业所,通过64K DDN 和局相连,如果有一个营业所要对1万用户进行处理的话,要花2~3小时,严重影响其他业务的开展。所以,当有大量数据需要处理时,不能在Clie... 阅读全文
posted @ 2011-01-03 00:18 覆雨翻云 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 作者:ysai 转载请保持文章完整并标明出处 1.DELPHI中操作ACCESS数据库(建立.mdb文件,压缩数据库) 以下代码在WIN2K,D6,MDAC2.6下测试通过, 编译好的程序在WIN98第二版无ACCESS环境下运行成功. //声明连接字符串 Const SConnectionString       = 'Provider=Microsoft.Jet.OLEDB.4.0;Data ... 阅读全文
posted @ 2011-01-03 00:10 覆雨翻云 阅读(454) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页