Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dialog Messages asks for Table in DBC
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01269298
Message ID:
01269302
Views:
8
Not sure but you can try issuing SET TABLEPROMPT OFF and then a SET DATABASE TO [your database] before you set the cursors and see if you still get the errors or if the cursor sources are not set properly. Once a path is set and the database is set, I've never put paths into the cursor values. I guess you could try a relative path but it shouldn't even be necessary unless I'm forgetting something. Is there any other control on the form that has a controlsource not included in the cursors you set? Anything in the load or init of the form or controls?



>While I am running a form I get a dialog error message that wants me to OPEN a Table that should have already opened automatically within a database container (DBC).
>
>Here's my code in the Data Environment:
>Even setting the path didn't help clue in the table. The table the dialog is looking for is "EMPL_MCH". The table is in the DBC every time.
>
>SET PATH TO E:\EMPLOYEE,E:\PRODUCTION\DATA,E:\EMPLOYEE\DATA
>SET EXCLUSIVE OFF
>This.cursor1.CursorSource="E:\Production\Data\Production"
>This.Cursor2.Database    ="E:\Employee\Data\Employee.DBC"
>This.cursor2.CursorSource="E:\Employee\Data\Empl_Mch"
>This.cursor3.CursorSource="E:\Employee\Data\Employee"
>This.Cursor4.CursorSource="E:\Employee\Data\Employee"
>This.Cursor5.CursorSource="E:\Employee\Data\Employee"
>This.Cursor6.CursorSource="E:\IRL\Ship\PRDPIFIL"
>
>
>What is wrong with this?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform