Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DE.Cursor1.CursorSource Message
Message
De
20/04/2005 16:43:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows NT
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01006732
Message ID:
01006748
Vues:
16
>>I have the following:
>>
>> THISFORM.DATAENVIRONMENT.CLOSETABLES
>> THISFORM.DATAENVIRONMENT.cursor1.CURSORSOURCE = (x)
>> THISFORM.DATAENVIRONMENT.OPENTABLES
>>
>>When it gets to the CursorSource a message is thrown stating:
>>"Property setting will not take effect until dataenvirnment is reloaded." How do I keep this message from displaying?
>>
>>Thanks!
>
>
>Hi Jim,
>where you put this code ?

Sorry, it's in a commandbutton.click. I've got a form that will display the fields in an .FRX. I want to be able to open a different report while in the form. Hoped this would work. Does excepting the message.
x = GETFILE("frx")

IF EMPTY(x)
   RETURN .F.
ENDIF

IF ALLTRIM(UPPER(THISFORM.DATAENVIRONMENT.cursor1.CURSORSOURCE)) # ALLTRIM(UPPER(x))
   THISFORM.DATAENVIRONMENT.CLOSETABLES
   THISFORM.DATAENVIRONMENT.CURSOR1.CURSORSOURCE = x
   THISFORM.DATAENVIRONMENT.OPENTABLES
ENDIF
Jim Philippi

quando omni flunkus moritati
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform