Article View: cn.bbs.comp.database
Article #1836Re: ����foxpro�ij���˭�����ҿ���
From: Ŭ������ǰ
Date: Thu, 13 Oct 2005 08:22
Date: Thu, 13 Oct 2005 08:22
30 lines
2427 bytes
2427 bytes
�� �� luckywlj (��������) �Ĵ������ᵽ: ��
: �ļ�newsa.dbf��newsb.dbf������ͬ�Ľṹ�����ֶ��У�newsp(������ƣ��ַ���),price�����ۣ���ֵ�ͣ���newsa��newsp�Ͻ��������ļ�newsa.idx��newsb��newsp�Ͻ��������ļ�newsb.idx����������Ĺ����ǣ�������newsa.dbf���ֵ�����newsb.dbf�г��ֵı�����ơ�
: set talk off
: seletc b
: use newsb alias new index newsb
: select a
: use newsa alias old index newsa
: do while .not. eof("old") .or. .not. eof("new")
: do case
: case eof("new") .or. .not. eof("old") .and. newsp<new->newsp
: ?newsp
���������ǰ����һ�����ʽ�� �����Ϥ������
: skip old
: case eof("old") .or. .not. eof("new") .and. newsp>new->newsp
: skip in new
: other
: ship
: skip in new
: endcase
: enddo
: clear all
: return
: �һ���û��Ū������θ�ݽ����������ļ��е��������Ƚϴ�С��Ҳ���� newsp<new->newsp��newsp>new->newsp����֪��Ӧ����ô��⣬��֪��˭�������һ�¡�^_^
--
[m[1;32m�� ��Դ:��BBS_����˼��վ lzusiyu.org��[FROM: 202.201.13.*][m
Technical Details
Message-ID:
<4KYKOk$eyL@siyu.cn-bbs.org>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!202.194.15.150.MISMATCH!bbsnews.sdu.edu.cn!news.happynet.org!news.xjtu.edu.cn!SiyuShow Full Headers
Complete Article Headers
X-Google-Thread: 101948,67972b2a4ddd6b X-Google-Attributes: gid101948,public X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!202.194.15.150.MISMATCH!bbsnews.sdu.edu.cn!news.happynet.org!news.xjtu.edu.cn!Siyu From: luobeng@lzusiyu.org-SPAM.no (Ŭ������ǰ) Newsgroups: cn.bbs.comp.database Subject: Re: ����foxpro�ij���˭�����ҿ��� Date: 13 Oct 2005 08:22:18 GMT Organization: BBS_����˼��վ Message-ID: <4KYKOk$eyL@siyu.cn-bbs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Database/M.1129191598.e0