Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Creating Index ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 757 of 852
Post > Topic >>

Creating Index in DbaseIV

by Peter <petercritic@[EMAIL PROTECTED] > Apr 18, 2007 at 10:10 AM

I have a dos batch file that opens dbaseiv and runs the following code
in a .prg

When the .mdx don't exist it gives me the error Production .MDX file
not found: INDUSTOL.mdx

if the .mdx already exists I get the error File already exists

either way the batch file stops running.  I've tried deleting the .mdx
files but then get error 1 and also leaving them alone and getting
error 2.  I've started reading about using reindex but can't make that
work either.  Does anybody know what I need to do to get this
working.

Thanks,
Pete

ps. this code below works fine on XP Home edition but when I moved it
to XP Pro it doesn't work anymore.
~~~~~~~~~~~~~~~~~~~~~~


use industol.dbf
index on city+stnm+str(stnum) tag address of industol.mdx
index on str(rent,10,2) tag rent of industol.mdx
index on stnm tag street of industol.mdx
close all


use officeol.dbf
index on city+stnm+str(stnum) tag address of officeol.mdx
index on str(rent,10,2) tag rent of officeol.mdx
index on stnm tag street of officeol.mdx
close all


use webol.dbf
index on city+stnm+str(stnum) tag address of webol.mdx
index on str(rent,10,2) tag rent of webol.mdx
index on stnm tag street of webol.mdx
close all




 2 Posts in Topic:
Creating Index in DbaseIV
Peter <petercritic@[EM  2007-04-18 10:10:47 
Re: Creating Index in DbaseIV
"zuna" <zuna  2007-04-24 20:05:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 14:28:15 CDT 2008.