Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ControlSource problem
Message
De
14/08/1998 08:08:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126840
Message ID:
00126841
Vues:
16
>I have a textbox with no ControlSource because I set it at run-time as
>follows:
>
>SELECT mytable
>THISFORM.t_textbox.ControlSource = mytable.myfield
>
>I then press TOP, PREV, NEXT and BOTTOM buttons to view the DB records
>in the textbox. I get no error messages and no DB records are ever
>displayed in the textbox. But the DB record numbers are changing in
>the status display area at the bottom of the screen so I know I am
>stepping through the DB records.
>
>I proved there are values in the DB records because I went to the
>textbox and changed the ControlSource property to mytable.myfield and
>evrything worked fine.
>
>Any ideas? Thanks, this seems simple, but it's not working right and
>I don't see why not.
Maybe the quotes ?
THISFORM.t_textbox.ControlSource = "mytable.myfield"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform