Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource problem
Message
From
14/08/1998 08:08:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126840
Message ID:
00126841
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform