<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Application Development</title>
	<atom:link href="http://meetme.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://meetme.wordpress.com</link>
	<description>Software technique, Skills &#38; Applications</description>
	<lastBuildDate>Wed, 25 Jan 2012 03:39:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='meetme.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Application Development</title>
		<link>http://meetme.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://meetme.wordpress.com/osd.xml" title="Application Development" />
	<atom:link rel='hub' href='http://meetme.wordpress.com/?pushpress=hub'/>
		<item>
		<title>数据表损坏</title>
		<link>http://meetme.wordpress.com/2012/01/25/%e6%95%b0%e6%8d%ae%e8%a1%a8%e6%8d%9f%e5%9d%8f/</link>
		<comments>http://meetme.wordpress.com/2012/01/25/%e6%95%b0%e6%8d%ae%e8%a1%a8%e6%8d%9f%e5%9d%8f/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 03:39:23 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[mySql]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=292</guid>
		<description><![CDATA[出现表损坏的根本原因是：你的表使用了myisam存储引擎。 myisam存储引擎主要用于select,如果用于insert,update,delete由于内部缺陷和异常数据访问经常造成索引文件损坏，注意是“经常”。 因此解决办法有二： 1.用myisamchk工具修复。一旦文件损坏只能暂停web访问，用myisamchk工具修复后可恢复正常。（暂时性，不能解决根本问题） 2.把表转换为innodb存储引擎。对用户来说是透明的，对程序逻辑不受任何影响，永久解决索引文件损坏的问题。   可通过以下语句把存储引擎转换为innodb。：alter table tablename engine=innodb;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=292&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>出现表损坏的根本原因是：你的表使用了myisam存储引擎。<br />
myisam存储引擎主要用于select,如果用于insert,update,delete由于内部缺陷和异常数据访问经常造成索引文件损坏，注意是“经常”。</p>
<p>因此解决办法有二：<br />
1.用myisamchk工具修复。一旦文件损坏只能暂停web访问，用myisamchk工具修复后可恢复正常。（暂时性，不能解决根本问题）<br />
2.把表转换为innodb存储引擎。对用户来说是透明的，对程序逻辑不受任何影响，永久解决索引文件损坏的问题。<br />
  可通过以下语句把存储引擎转换为innodb。：alter table tablename engine=innodb;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=292&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2012/01/25/%e6%95%b0%e6%8d%ae%e8%a1%a8%e6%8d%9f%e5%9d%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>Got error 134 from storage engine</title>
		<link>http://meetme.wordpress.com/2012/01/23/got-error-134-from-storage-engine/</link>
		<comments>http://meetme.wordpress.com/2012/01/23/got-error-134-from-storage-engine/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 21:37:11 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[mySql]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=290</guid>
		<description><![CDATA[storage engine错误，一般就是表出错 repair table tablename;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=290&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>storage engine错误，一般就是表出错</p>
<p><span style="color:#0000ff;">repair table</span> tablename;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=290&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2012/01/23/got-error-134-from-storage-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>表格居中的解决方法</title>
		<link>http://meetme.wordpress.com/2012/01/20/%e8%a1%a8%e6%a0%bc%e5%b1%85%e4%b8%ad%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://meetme.wordpress.com/2012/01/20/%e8%a1%a8%e6%a0%bc%e5%b1%85%e4%b8%ad%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 03:22:52 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=286</guid>
		<description><![CDATA[From http://www.cnblogs.com/djune/archive/2009/08/05/1539861.html   把原来用到align：center或text-align:center的地方用在对应的style里面用margin: 0px auto替换。这样既可以在火狐中居中也可以再IE中居中。 以下是具体代码： 这个是我第一次写的居中表格的源代码：【只能在IE7中居中】&#60;div style=&#8221;text-align:center&#8221;&#62;   &#60;table  border=&#8221;1&#8243; cellspacing=&#8221;0&#8243; style=&#8221;border-collapse: collapse; border-color:Black;&#8221;&#62;        &#60;tr&#62;             &#60;td&#62;第一列&#60;/td&#62;             &#60;td&#62;第二列&#60;/td&#62;       &#60;/tr&#62; &#60;/table&#62; &#60;div&#62;     这个是我更改后的部分源代码：【即能在IE7中居中又能在火狐中居中】&#60;table  border=&#8221;1&#8243; cellspacing=&#8221;0&#8243; style=&#8221;border-collapse: collapse; border-color:Black; margin: 0px auto; &#8220;&#62;        &#60;tr&#62;             &#60;td&#62;第一列&#60;/td&#62;             &#60;td&#62;第二列&#60;/td&#62;       &#60;/tr&#62; &#60;/table&#62; 版权所有djune@博客园2009 哥签的不是名，是寂寞&#8230;..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=286&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://www.cnblogs.com/djune/archive/2009/08/05/1539861.html">http://www.cnblogs.com/djune/archive/2009/08/05/1539861.html</a></p>
<p>  把原来用到align：center或text-align:center的地方用在对应的style里面用margin: 0px auto替换。这样既可以在火狐中居中也可以再IE中居中。<br />
以下是具体代码：<br />
这个是我第一次写的居中表格的源代码：【只能在IE7中居中】&lt;div style=&#8221;text-align:center&#8221;&gt;  <br />
&lt;table  border=&#8221;1&#8243; cellspacing=&#8221;0&#8243; style=&#8221;border-collapse: collapse; border-color:Black;&#8221;&gt; <br />
      &lt;tr&gt;<br />
            &lt;td&gt;第一列&lt;/td&gt;<br />
            &lt;td&gt;第二列&lt;/td&gt;<br />
      &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;div&gt;<br />
   <br />
这个是我更改后的部分源代码：【即能在IE7中居中又能在火狐中居中】&lt;table  border=&#8221;1&#8243; cellspacing=&#8221;0&#8243; style=&#8221;border-collapse: collapse; border-color:Black; margin: 0px auto; &#8220;&gt; <br />
      &lt;tr&gt;<br />
            &lt;td&gt;第一列&lt;/td&gt;<br />
            &lt;td&gt;第二列&lt;/td&gt;<br />
      &lt;/tr&gt;<br />
&lt;/table&gt;</p>
<div id="MySignature">
<div>版权所有<a href="mailto:djune@博客园2009">djune@博客园2009</a> 哥签的不是名，是寂寞&#8230;..</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=286&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2012/01/20/%e8%a1%a8%e6%a0%bc%e5%b1%85%e4%b8%ad%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>RAD PHP 控件dbgrid如何显示汉字？</title>
		<link>http://meetme.wordpress.com/2012/01/09/rad-php-%e6%8e%a7%e4%bb%b6dbgrid%e5%a6%82%e4%bd%95%e6%98%be%e7%a4%ba%e6%b1%89%e5%ad%97%ef%bc%9f/</link>
		<comments>http://meetme.wordpress.com/2012/01/09/rad-php-%e6%8e%a7%e4%bb%b6dbgrid%e5%a6%82%e4%bd%95%e6%98%be%e7%a4%ba%e6%b1%89%e5%ad%97%ef%bc%9f/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 23:48:12 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[RadPHP]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=279</guid>
		<description><![CDATA[http://hi.baidu.com/usegear/blog/item/6c62ed4249ac330a9313c6b2.html 让千百万（夸张一下）人头疼的问题：是让this page的汉字不乱码，让dbgrid显示不乱码？  1、把网上高手关于dbgrid总结转载一下，已经很清楚了：  Tools—〉Editor Options—〉勾选Use UTF-8………… 　　设置PHP—〉Default Charset—〉utf-8 　　勾选Set these values on php.ini 　　然后你就可以自由使用输入显示中文了。 　　注意，不要在网站目录上使用中文命名，据说这样会使软件速度变得很慢。 　　如果要配合mysql数据库的话：把mysql的编码改成utf-8就行了。 　　完整的中文支持方法： 　　1 要使用delphi for php的update1版，之前的版本虽然也能达到页面内容显示中文的目标，但这不是完全的中文支持。 　　有了delphi for php编程软件后，新增一个form页面，只要将form的encoding属性设为GB2312或utf-8，即可实现页面正常显示中文。 　　2 本论坛及网上其他地方对控件的中文支持有不同描述，本人经过整理，其实现步骤是：1、修改apache2的配置文件，让其应用utf-8字符集(注意同时修改http.conf和httpd.template.conf文件，以免被delphi for php启动时复原);2、设置delphi for php，让其应用utf-8字符集，同时也让php应用utf-8字符集;3、修改PHP配置文件，让其应用utf-8字符集(同时修改php.ini和 php.ini.template文件，原因同上)，这部分的设置似乎在第2步已经完成了，当然用另一种方式设置一下也没关系啦。 　　至此，在delphi for php中将form的encoding设为utf-8，即可完全实现控件的中文支持。 　　到这一步后，数据库控件其实在代码层次已经支持中文了，但由于mysql数据库与php在字符集一致性等方面的原因，仍会显示乱码。 　　3 MySQL 4以上的字符集支持(Character Set Support)有两个方面：字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server)，数据库(database)，数据表(table)和连接(connection)。 　　因此需要将mysql和PHP的默认字符集都设为utf-8，如此设置以后，我们会发现一个问题：用delphi for php生成的php程序提交的中文数据，用phpmyadmin查看是乱码，但用原提交程序查看却一切正常;另一方面，用phpmyadmin输入的中文数据，用delphi for php生成的php程序查看是乱码，但用phpmyadmin查看却正常。 　　由此我们可以推断出：数据在传输及存储环节出现了字符集的不一致。 　　问题就出在这个connection连接层上!一般情况下，PHP连接Mysql编码方式，如果没有显式的声明编码方式，都将使用latin1编码。一般的程序，都没有显式声明，所以，都是将utf8文本按latin1编码方式存在数据库，PHPMyAdmin再用utf8格式读取，肯定是乱码。如果PHP程序按正确的编码存入数据库，肯定是没有问题的。 　　因此需要显式声明如下变量： 　　SET character_set_client=’utf8’ 　　SET character_set_connection=’utf8’ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=279&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://hi.baidu.com/usegear/blog/item/6c62ed4249ac330a9313c6b2.html">http://hi.baidu.com/usegear/blog/item/6c62ed4249ac330a9313c6b2.html</a></p>
<p>让千百万（夸张一下）人头疼的问题：是让this page的汉字不乱码，让dbgrid显示不乱码？</p>
<p> 1、把网上高手关于dbgrid总结转载一下，已经很清楚了：</p>
<p> Tools—〉Editor Options—〉勾选Use UTF-8…………</p>
<p>　　设置PHP—〉Default Charset—〉utf-8</p>
<p>　　勾选Set these values on php.ini</p>
<p>　　然后你就可以自由使用输入显示中文了。</p>
<p>　　注意，不要在网站目录上使用中文命名，据说这样会使软件速度变得很慢。</p>
<p>　　如果要配合mysql数据库的话：把mysql的编码改成utf-8就行了。</p>
<p>　　完整的中文支持方法：</p>
<p>　　1 要使用delphi for php的update1版，之前的版本虽然也能达到页面内容显示中文的目标，但这不是完全的中文支持。</p>
<p>　　有了delphi for php编程软件后，新增一个form页面，只要将form的encoding属性设为GB2312或utf-8，即可实现页面正常显示中文。</p>
<p>　　2 本论坛及网上其他地方对控件的中文支持有不同描述，本人经过整理，其实现步骤是：1、修改apache2的配置文件，让其应用utf-8字符集(注意同时修改http.conf和httpd.template.conf文件，以免被delphi for php启动时复原);2、设置delphi for php，让其应用utf-8字符集，同时也让php应用utf-8字符集;3、修改PHP配置文件，让其应用utf-8字符集(同时修改php.ini和 php.ini.template文件，原因同上)，这部分的设置似乎在第2步已经完成了，当然用另一种方式设置一下也没关系啦。</p>
<p>　　至此，在delphi for php中将form的encoding设为utf-8，即可完全实现控件的中文支持。</p>
<p>　　到这一步后，数据库控件其实在代码层次已经支持中文了，但由于mysql数据库与php在字符集一致性等方面的原因，仍会显示乱码。</p>
<p>　　3 MySQL 4以上的字符集支持(Character Set Support)有两个方面：字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server)，数据库(database)，数据表(table)和连接(connection)。</p>
<p>　　因此需要将mysql和PHP的默认字符集都设为utf-8，如此设置以后，我们会发现一个问题：用delphi for php生成的php程序提交的中文数据，用phpmyadmin查看是乱码，但用原提交程序查看却一切正常;另一方面，用phpmyadmin输入的中文数据，用delphi for php生成的php程序查看是乱码，但用phpmyadmin查看却正常。</p>
<p>　　由此我们可以推断出：数据在传输及存储环节出现了字符集的不一致。</p>
<p>　　问题就出在这个connection连接层上!一般情况下，PHP连接Mysql编码方式，如果没有显式的声明编码方式，都将使用latin1编码。一般的程序，都没有显式声明，所以，都是将utf8文本按latin1编码方式存在数据库，PHPMyAdmin再用utf8格式读取，肯定是乱码。如果PHP程序按正确的编码存入数据库，肯定是没有问题的。</p>
<p>　　因此需要显式声明如下变量：</p>
<p>　　SET character_set_client=’utf8’</p>
<p>　　SET character_set_connection=’utf8’</p>
<p>　　SET character_set_results=’utf8’</p>
<p>　　上述声明与 SET NAMES ’utf8’等价，如此以来，解决问题的关键就变成了如何将 SET NAMES ’utf8’ 放入delphi for php程序并使其有效。</p>
<p>　　其实非常简单，在form中找到数据库控件，在其OnAfterConnect事件中加入一行：$this-&gt;控件名-&gt;execute(’set names utf8′);</p>
<p>补充案例：  <strong>  $this-&gt;dboscommerce1-&gt;execute(&#8220;set names utf8&#8243;);</strong></p>
<p>　　一切OK!</p>
<p>支持dbgrid显示汉字应该解决，包括显示汉字网页等。如果还不能搞定，别问我，呵呵。</p>
<p>2、网页标题汉字乱码问题</p>
<p>这个也是要命的问题，网上问的很多，但没有人答复。洒家在此给个办法，行不通也不要问我，呵呵。</p>
<div> </div>
<p><img src="http://hiphotos.baidu.com/usegear/pic/item/74a0ef3c23a1a4803c6d9765.jpg" alt="" border="0" /></p>
<p>在php.ini.template中修改：</p>
<p>添加： default_charset = &#8220;utf8&#8243; （有用吗？不知道）</p>
<p>添加：mbstring.internal_encoding = utf8 （有用吗？不知道，可能有用）</p>
<p>希望你能把真正的原因告诉我。</p>
<p>（试验的数据库mysql）</p>
<p>ok goodluck!</p>
<p>网页标题汉字乱码问题,在程序中直接修改即可  <strong>  </strong></p>
<p><strong>function Page6Create($sender, $params)</strong><br />
<strong>    {</strong><br />
<strong>      $this-&gt;Caption= &#8220;你的title&#8221;;</strong></p>
<p><strong>    }</strong></p>
<p><strong></strong> </p>
<p>从datebase中拿来的数据含有中文字段，显示在dbgrid中呈？？？形式，无法正确显示。 尝试办法： http://blog.csdn.net/winterwen123/article/details/6153975 1.工具-&gt;选项-&gt;PHP-&gt;默认字符集 设为UTF-8； 2.工具-&gt;选项-&gt;Editor Options-&gt;textencoding 设为UTF-8;character set 设为gb2312 3.现在才可以创建工程和文件，form的Encoding不用改。 4.工程路径不能包含中文，否则会出现假死； 现在运行工程，出来的页面才是中文的； 结果是不行 怎么试验都是无法在dbgrid中显示中文。问题待定。。。 最后还是李哥搜索到的，来自论坛中的答案。 http://forums.delphi-php.net/database-integration/373-dbgrid-charset.html 解决办法的关键事件函数。 function Database1AfterConnect($sender, $params) { $this-&gt;Database1-&gt;Charset=”UTF-8″; mysql_set_charset( “utf8″); } Database1是数据库控件的命名，将数据库控件的事件OnAfterConnect触发函数指向该函数，即可解决问题。该函数强制将数据库和mysql的字符设置为utf-8。 为避免出现其他中文乱码问题，字符集也最好按上述所说的设一下。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=279&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2012/01/09/rad-php-%e6%8e%a7%e4%bb%b6dbgrid%e5%a6%82%e4%bd%95%e6%98%be%e7%a4%ba%e6%b1%89%e5%ad%97%ef%bc%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>

		<media:content url="http://hiphotos.baidu.com/usegear/pic/item/74a0ef3c23a1a4803c6d9765.jpg" medium="image" />
	</item>
		<item>
		<title>html 包含另一个html</title>
		<link>http://meetme.wordpress.com/2011/12/31/html-%e5%8c%85%e5%90%ab%e5%8f%a6%e4%b8%80%e4%b8%aahtml/</link>
		<comments>http://meetme.wordpress.com/2011/12/31/html-%e5%8c%85%e5%90%ab%e5%8f%a6%e4%b8%80%e4%b8%aahtml/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 04:45:30 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=277</guid>
		<description><![CDATA[&#60;iframe   id= &#8220;frm &#8221;   frameborder=0   src= &#8220;***.htm &#8221;   height=320   width=570 scroll=no   &#62; &#60;/iframe&#62; 使用iframe比较简单，它可以强制一个HTML页面镶嵌在另一个页面中，类似于是用 object控件将Flash电影、录像、或者MP3播放器嵌入一个页面中。使用iframe，用户端不需要开启Javascript功能。但不利的方面 是iframe有固定的高度和宽度，不能随着被嵌入页面的大小而改变。当被嵌入页面大于给定高宽度时，会显示滚动条(当然你也可以使用 scrolling = “no” 来强制滚动条不显示，但这样页面内容会显示不完整)，影响页面美观。另外就是搜索引擎可能不收录iframe引用的页面，不利网站推广。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=277&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;iframe   id= &#8220;frm &#8221;   frameborder=0   src= &#8220;***.htm &#8221;   height=320   width=570<br />
scroll=no   &gt; &lt;/iframe&gt;</p>
<p>使用iframe比较简单，它可以强制一个HTML页面镶嵌在另一个页面中，类似于是用 object控件将Flash电影、录像、或者MP3播放器嵌入一个页面中。使用iframe，用户端不需要开启Javascript功能。但不利的方面 是iframe有固定的高度和宽度，不能随着被嵌入页面的大小而改变。当被嵌入页面大于给定高宽度时，会显示滚动条(当然你也可以使用 scrolling = “no” 来强制滚动条不显示，但这样页面内容会显示不完整)，影响页面美观。另外就是搜索引擎可能不收录iframe引用的页面，不利网站推广。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=277&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/12/31/html-%e5%8c%85%e5%90%ab%e5%8f%a6%e4%b8%80%e4%b8%aahtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>IE6下min-height无效Hack方法</title>
		<link>http://meetme.wordpress.com/2011/12/29/ie6%e4%b8%8bmin-height%e6%97%a0%e6%95%88hack%e6%96%b9%e6%b3%95/</link>
		<comments>http://meetme.wordpress.com/2011/12/29/ie6%e4%b8%8bmin-height%e6%97%a0%e6%95%88hack%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 20:02:36 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=272</guid>
		<description><![CDATA[#page{ background:#F00; min-height:500px; height:auto !important; height:500px; overflow:visible; } 就是这句overflow:visible使IE们能够当作height:auto来处理。问题解决。 from:http://hi.baidu.com/win_blue/blog/item/869ff9307ebf2ba25fdf0ec0.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=272&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#page{</p>
<p>background:#F00;</p>
<p>min-height:500px;<br />
height:auto !important;<br />
height:500px;</p>
<p>overflow:visible;</p>
<p>}</p>
<p>就是这句overflow:visible使IE们能够当作height:auto来处理。问题解决。</p>
<p>from:<a href="http://hi.baidu.com/win_blue/blog/item/869ff9307ebf2ba25fdf0ec0.html">http://hi.baidu.com/win_blue/blog/item/869ff9307ebf2ba25fdf0ec0.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=272&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/12/29/ie6%e4%b8%8bmin-height%e6%97%a0%e6%95%88hack%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>create function的时候有1418的错语</title>
		<link>http://meetme.wordpress.com/2011/11/16/create-function%e7%9a%84%e6%97%b6%e5%80%99%e6%9c%891418%e7%9a%84%e9%94%99%e8%af%ad/</link>
		<comments>http://meetme.wordpress.com/2011/11/16/create-function%e7%9a%84%e6%97%b6%e5%80%99%e6%9c%891418%e7%9a%84%e9%94%99%e8%af%ad/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 18:31:23 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[mySql]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=268</guid>
		<description><![CDATA[如果在create function的时候有1418的错语的时候:那么只需要执行set global log_bin_trust_routine_creators=1; 然后怎么create function都不会有问题(当然,你的function必段正确哦),这是mysql的一个bug,搞 不懂为什么,反正这样做就OK了. 另外，也可以直接在配置文件my.cnf中添加如下行[mysqld]log_bin_trust_routine_creators=1; 这个命令可以在sqleditor的环境中运行，并不需要重新启动服务哦。 OR 解决方法如下： 　　1. mysql&#62; SET GLOBALlog_bin_trust_function_creators = 1; 　　2. 系统启动时&#8211;log-bin-trust-function-creators=1 　　3. 在my.ini(linux下为my.conf)文件中[mysqld] 标记后加一行内容为 log-bin-trust- function-creators &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=268&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>如果在create function的时候有1418的错语的时候:那么只需要执行set global</p>
<p>log_bin_trust_routine_creators=1;</p>
<p>然后怎么create function都不会有问题(当然,你的function必段正确哦),这是mysql的一个bug,搞</p>
<p>不懂为什么,反正这样做就OK了.</p>
<p>另外，也可以直接在配置文件my.cnf中添加如下行[mysqld]log_bin_trust_routine_creators=1;</p>
<p>这个命令可以在sqleditor的环境中运行，并不需要重新启动服务哦。</p>
<p>OR</p>
<p>解决方法如下：</p>
<p>　　1. mysql&gt; SET GLOBALlog_bin_trust_function_creators = 1;</p>
<p>　　2. 系统启动时&#8211;log-bin-trust-function-creators=1</p>
<p>　　3. 在my.ini(linux下为my.conf)文件中[mysqld] 标记后加一行内容为 log-bin-trust-</p>
<p>function-creators</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=268&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/11/16/create-function%e7%9a%84%e6%97%b6%e5%80%99%e6%9c%891418%e7%9a%84%e9%94%99%e8%af%ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>bcb 日期大小比较</title>
		<link>http://meetme.wordpress.com/2011/10/04/bcb-%e6%97%a5%e6%9c%9f%e5%a4%a7%e5%b0%8f%e6%af%94%e8%be%83/</link>
		<comments>http://meetme.wordpress.com/2011/10/04/bcb-%e6%97%a5%e6%9c%9f%e5%a4%a7%e5%b0%8f%e6%af%94%e8%be%83/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 01:52:54 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[C++Builder]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=265</guid>
		<description><![CDATA[#include &#8220;DateUtils.hpp&#8221; TDateTime dt1, dt2; dt1 = StrToDateTime(stime1); dt2 = StrToDateTime(stime2); if ( CompareDateTime(dt1, dt2) &#62; 0 ) {   //dt1 大于 dt2 } else if ( CompareDateTime(dt1, dt2) == 0 ) {   // dt1 等于 dt2 } else {   // dt1 小于<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=265&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#include &#8220;DateUtils.hpp&#8221;</p>
<p>TDateTime dt1, dt2;</p>
<p>dt1 = StrToDateTime(stime1);<br />
dt2 = StrToDateTime(stime2);</p>
<p>if ( CompareDateTime(dt1, dt2) &gt; 0 )<br />
{<br />
  //dt1 大于 dt2<br />
}<br />
else if ( CompareDateTime(dt1, dt2) == 0 )<br />
{<br />
  // dt1 等于 dt2<br />
}<br />
else<br />
{<br />
  // dt1 小于</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=265&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/10/04/bcb-%e6%97%a5%e6%9c%9f%e5%a4%a7%e5%b0%8f%e6%af%94%e8%be%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>RAVE REPORT 求百分比</title>
		<link>http://meetme.wordpress.com/2011/09/17/rave-report-%e6%b1%82%e7%99%be%e5%88%86%e6%af%94/</link>
		<comments>http://meetme.wordpress.com/2011/09/17/rave-report-%e6%b1%82%e7%99%be%e5%88%86%e6%af%94/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 11:53:43 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=261</guid>
		<description><![CDATA[先用兩個 Calc_Total ,分別把 總數量 及存放量 Sum 起來&#8230; 後來再用 Calc_op 把兩者相除&#8230;.  結果 存在 parameter variable  EX :  totalPcnt  內.   後來 就用 DataText   , 選擇 parameter variable  &#8211; totalPcnt  終於搞定&#8230;.  &#160; 你可以試試 欄位裡的 event 裡面有個 ongettext 有個內建變數value,可以改變 value的值. 可以把字串轉成 currcy 或是 int , 再來計算, 計算完再設回給 value 就行了 假設你算出來的數字是 20 value:=floatformat(&#8217;0&#8242;,20)+&#8217;%'; 上面這個程式就是把他轉成  20% 字串<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=261&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>先用兩個 Calc_Total ,分別把 總數量 及存放量 Sum 起來&#8230;<br />
後來再用 Calc_op 把兩者相除&#8230;.  結果 存在 parameter variable  EX :  totalPcnt  內.  <br />
後來 就用 DataText   , 選擇 parameter variable  &#8211; totalPcnt <br />
終於搞定&#8230;. </p>
<p>&nbsp;</p>
<p>你可以試試 欄位裡的 event</p>
<p>裡面有個 ongettext</p>
<p>有個內建變數value,可以改變 value的值.</p>
<p>可以把字串轉成 currcy 或是 int , 再來計算, 計算完再設回給 value 就行了<br />
假設你算出來的數字是 20<br />
value:=floatformat(&#8217;0&#8242;,20)+&#8217;%';<br />
上面這個程式就是把他轉成  20% 字串</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=261&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/09/17/rave-report-%e6%b1%82%e7%99%be%e5%88%86%e6%af%94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
		<item>
		<title>判断一个表的数据不在另一个表中方法</title>
		<link>http://meetme.wordpress.com/2011/07/12/%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e8%a1%a8%e7%9a%84%e6%95%b0%e6%8d%ae%e4%b8%8d%e5%9c%a8%e5%8f%a6%e4%b8%80%e4%b8%aa%e8%a1%a8%e4%b8%ad%e6%96%b9%e6%b3%95/</link>
		<comments>http://meetme.wordpress.com/2011/07/12/%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e8%a1%a8%e7%9a%84%e6%95%b0%e6%8d%ae%e4%b8%8d%e5%9c%a8%e5%8f%a6%e4%b8%80%e4%b8%aa%e8%a1%a8%e4%b8%ad%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 21:49:20 +0000</pubDate>
		<dc:creator>meetme</dc:creator>
				<category><![CDATA[MS Access]]></category>
		<category><![CDATA[mySql]]></category>
		<category><![CDATA[Postgresql]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://meetme.wordpress.com/?p=255</guid>
		<description><![CDATA[select a.* from tbl1 a left join tbl2 b on a.key = b.key where b.key is null &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=255&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>select a.* from tbl1 a<br />
left join tbl2 b<br />
on a.key = b.key<br />
where b.key is null</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/meetme.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/meetme.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/meetme.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=meetme.wordpress.com&amp;blog=497669&amp;post=255&amp;subd=meetme&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://meetme.wordpress.com/2011/07/12/%e5%88%a4%e6%96%ad%e4%b8%80%e4%b8%aa%e8%a1%a8%e7%9a%84%e6%95%b0%e6%8d%ae%e4%b8%8d%e5%9c%a8%e5%8f%a6%e4%b8%80%e4%b8%aa%e8%a1%a8%e4%b8%ad%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d826355b4d7933b84db2d3c557ecdca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">meetme</media:title>
		</media:content>
	</item>
	</channel>
</rss>
