dbTalk Databases Forums  

VFP Help

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP Help in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ShahJagat
 
Posts: n/a

Default VFP Help - 11-11-2003 , 04:50 PM






WHen you add a table to the data environment of a form, does it automatically
add any associated Index files? How do I set the controlling index?

I have a table that when added to the data environment, I cannot figure out
the syntax and where do I need to put it to set the controlling Index. And
since this is the case it prevents me from using any 'Seek' function..

Any suggestions....?

Reply With Quote
  #2  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: VFP Help - 11-12-2003 , 02:42 AM






When you are using CDX 'Compound index' files,
Vfp will use them with your table automatically.


hth
-Stefan

"ShahJagat" <shahjagat (AT) aol (DOT) com> schrieb im Newsbeitrag
news:20031111175054.20279.00000026 (AT) mb-m04 (DOT) aol.com...
Quote:
WHen you add a table to the data environment of a form, does it
automatically
add any associated Index files? How do I set the controlling index?

I have a table that when added to the data environment, I cannot figure
out
the syntax and where do I need to put it to set the controlling Index. And
since this is the case it prevents me from using any 'Seek' function..

Any suggestions....?


Reply With Quote
  #3  
Old   
Garrett Fitzgerald
 
Posts: n/a

Default Re: VFP Help - 11-13-2003 , 07:16 PM



In article <20031111175054.20279.00000026 (AT) mb-m04 (DOT) aol.com>,
ShahJagat <shahjagat (AT) aol (DOT) com> wrote:
Quote:
WHen you add a table to the data environment of a form, does it automatically
add any associated Index files? How do I set the controlling index?

I have a table that when added to the data environment, I cannot figure out
the syntax and where do I need to put it to set the controlling Index. And
since this is the case it prevents me from using any 'Seek' function..
As was pointed out elsewhere, with CDXs, you don't have to worry
about this. If you're using IDXs, I don't know if you can get it to
work quite right. You may need to open the tables manually to get the
correct effect. You can do this by setting the DataEnvironment's
AutoOpenTables event to .F., and then USE the tables with the INDEX
clause.

But CDXs are definitely the way to go here, if you can.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.