Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap when an index is on a second table
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033041
Message ID:
01033070
Views:
16
This message has been marked as the solution to the initial question of the thread.
Darrell,

I don't think the error is trapabable in VFP8 or earlier but I'm pretty sure it's trapable in VFP9.

>
>Just to make sure that I am communicating clearly.
>
>What you suggested - is what I am trying to do and what my question was about.
>
>My question I guess to rephrase it:
>
>If the client has hundreds of tables in many directories. How do I scan through all of these in a somewhat timely manner programaticly and find where this ridiculous scenario exists.
>
>IF the testabc.dbf did NOT exist THEN I would get an ERROR()
> Error message: File 'c:\testdir\testabc.dbf' does not exist.
>
>IF the testdef.dbf does NOT exist -- I do NOT get an ERROR() just a msgbox that the alias does NOT exist
>(the one used with the index key)
>
>In your response before are you saying that this error can not be identified and trapped.
>
>I could open each table and then from an array go through each index phrase and look for the wrong alias
>I just thougt I would get an error back - which would allow for me to tell the user - this is a bad idea and there is a potential of never being able to open this file etc.
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform