Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and refresh problem
Message
From
26/05/2004 13:38:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00907441
Message ID:
00907448
Views:
11
>Hi,
>I have a form with some textboxes with fields linked to myTable1. Now I want to add
>a grid to this form, but the grid is linked to another table, myTable2. I have placed a
>button "Show Grid" on the form with this code:
>
>sele &MyTable2
>With Thisform.Grid1
> .refresh
>EndWith
>wait wind "Now you can see the grid"
>
>However, when I click on the Show Grid button, the grid shows nothing except an empty
>white box.
>
>??
>thanks
>Steve

There is an incompetent controlsource probably.
with thisform.Grid1
 .ColumnCount=-1
 .Recordsource = m.myTable2
endwith
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
Reply
Map
View

Click here to load this message in the networking platform