Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrong cursor selected
Message
De
21/07/2003 15:00:29
 
 
À
21/07/2003 14:49:36
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00812082
Message ID:
00812117
Vues:
10
>>>I saw some discussion in UT about using a grid. The suggestion was to SetFocus() to something other than the grid. So in the cmdPrint.Click() I have a line: 'This.SetFocus()' [I know this is redundant, but I'm willing to try anything!].
>>>
>>>I also searched Visual SourceSafe for any occurance of 'tempSort' in the report, and found no reference. I even opened up the .FRX and looked in every field - 'tempSort' is not referenced.
>>>
>>>I have spent several hours on this and haven't a clue what to try next.
>>
>>Is this report called from a form that has a Grid on it? If it is, make sure the some other control other than the Grid has focus before you call your report code.
>
>Yes there is a grid on the form (please see earlier discussion) but the report is called from within a commandbutton 'cmdPrint.Click()'. cmdPrint would have focus at that time. However, inside cmdPrint.Click() I have included a line: this.SetFocus()

Another thing to try is to make sure SELECT youralias that's the source for the REPORT before you try to run it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform