Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private data session
Message
From
16/03/1997 20:13:47
 
 
To
25/02/1997 13:19:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00021964
Message ID:
00024472
Views:
40
>>I have a form based on a query that calles another
>>form based on another query. They conflicted so
>>I put the second form in a proivate data session.
>>
>>The problem is that when the second form opens and requerries somthing like "One record selected in .09
>>sec" appears on the FIRST form and I cant suppress it.
>>
>>Talk is set off in both forms..
>>
>>Any Ideas?
>>
>
>I guess that SET TALK OFF is not being done before the query runs.
>
>Because SET TALK is scoped to the DataSession, it will default to whatever is set in your VFP defaults - see Tools|Options on the menu.
>
>If you want that not to appear, you can:
> Change FoxPro's default
> Put the SET TALK OFF in a method that's called before the query runs.
> SET STATUS BAR ON
>
>I guess you might be putting the SET TALK OFF in the INIT() of the form?
>
>The event sequence is:
>
> Form's LOAD
> Every control on the form's INIT
> Form's INIT
>
>So if the SELECT was in the INIT() or called by the INIT() of a control on the form - putting SET TALK OFF in the form's INIT is too late.


I placed set talk off/set notify off in the forms INIT and LOAD events.
I changed the VFP defaults to not display system messages or command
results. Bit I still_ get "n records selected..."

The client doesnt want the status bar on.

???

Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform