Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field phrase is not found
Message
From
30/01/2003 17:29:03
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00747449
Message ID:
00747454
Views:
11
Nadya, what do you mean by "it lives Unknown 2 DS (empty)" ?
Could the difference between running a command from command window or from program be the environment, including a SET xx condition?


>Hi everybody,
>
>I have a very complicated application. I just found, that when I run it from command window, it lives Unknown 2 DS (empty). I can run the following command from command window
>btcrit('promptn',[r0110VD7OV],"x:\redp\dbc\jobs\metafiles\BtCritss.dbf") and it brings me a form.
>
>But if I place the same command into the program, it gives me an error: Field phrase is not found. Moreover, the application works fine in the production (called from another application).
>
>But I'm trying to run a program to automatically update configurations and I recieve this weird error. What's the difference between running a command from command window and from program? How can I fix the problem?
>
>It error on the following lines in code:
>
>if !empty(.TableName)
>    	.Container1.list1.rowsourcetype = 2
>		.Container1.list1.rowsource = .TableName && Set record source for the list
>		.Container1.list1.requery() && Show data
>	endif
>
>I don't understand, why it happens
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform