Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form problems

Status
Not open for further replies.

DukeArgos

Technical User
Feb 26, 2002
9
US
I'm trying to create a simple form for a customer. I created a formname.sct and formname.scx. I then email these two files to my customer and they receive the error when they try to run the form:

Index tag is not found
Error:1683
Index tag is not found
Method: embossedfor.dataenvironemnt.open tables
Line: 0

I can't seem to find a solution for this error number. We are both running foxpro 6.0 with sp5 installed. The only difference i can see -- is we are using slightly different dbf files. However, both contain identical fields. they only have a few different records. The database is not that large -- and i'm not intentionally indexing anything...

Any help would be most appreciative!!!

thanks!!!
 
HI
Obviously the index tags are not the same. What I suggest is to get the tables used at the client side and index them identical to your index and reMail them the reindexed data.

Another way is to create a small prg file, which will delete all the current index tags and the reindex the files as you have it now.

For an eexample on how to drop an index or reindex.. see my FAQ on this...

ReBuild your CDX index files
faq184-1033

However in this FAQ, the same index is recreated. What you need is to recreate as per your existing index tags in your table. (Obviously, the client is having a different index tag and so dont rebuild that.)

Hope this helps :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
ramani,

THANKS!!! you were correct -- there was an index that i had evidently created when i made the form. I didn't realize this was the case. Instead of duplicating this index for the customer -- i'd prefer to remove it from my form (if possible).

Is there a way to remove the need for the index from my form without having to recreate the whole form?

thanks!!!
 
The reason you're getting INDEX TAG IS NOT FOUND is because your form is actually trying to USE this tag. It sounds like one of your builders (perhabs a Grid or Combobox) might have created an index so it could sort by the order you chose.

Go into your Data Environment and select the table, then change the Order property. That should get rid of the error. However, your form may no longer function as expected after you do this.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top