Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Access Selected Table & VarRead equivilant
Message
De
06/07/1998 10:54:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113920
Message ID:
00114540
Vues:
16
Barbara,

Believe me, I'd love to. Unfortunatly we don't have the time to port the entire program over to OOP. The contact manager window is still a read. It's been done using a define window, etc. I don't think I can use .Refresh with that information.....

Jeff

>>Help! We're porting our 2.6 app over to VFP and I'm having two problems. Anyone who can help, PLEASE!
>>
>>1) I'm getting Cannot Access Selected tables all over the place when I do a "show gets (cWinName)" within our program. I don't understand why... :(
>
>Instead of the 'Show Gets' command, use 'thisform.refresh' to update textboxes on a form.
>
>>2) We have a spell checker that uses varread() to get the name of the variable currently in use, but we cannot use this with forms. Any ideas for a replacement?
>
>Instead of Varread(), use the actual control name: this.name If you need the data source, use this.ControlSource
>>
>>Thanks!
>>
>>Please Email responses as well as posting
>>Jeff@TeleMagic.com
>
>Jeff, it looks like you're trying to force FPW code into the VFP mold. You need to look at the new functions and commands: Use table buffering instead of scatter/gather, check the available commands like ActiveControl, and ActiveForm, etc. In fact, you may wish to update your spellchecker to Foxspell which is written in VFP and can be compiled right into your code.
>
>Before you simply recompile existing code take a long look at OOP design and make sure you're using the best of the expanded possibilities VFP offers.
>
>HTH
>Barbara
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform