Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Problem Reproduced
Message
From
03/02/1999 21:20:24
 
 
To
02/02/1999 08:03:32
Raymond Ferretti
Insurance Data Processing, Inc.
Wyncote, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00182644
Message ID:
00183741
Views:
14
Raymond, I've followed this and finally decided it was time to give it a try myself. I'm a little confused. At what point exactly are you doing step #4?

You can't be doing it in the load of the form since the grid isn't instantiated yet, and you can't do it in the designer since you can't get at the column properties in the grid. That really only leaves the grid's init, but you don't say, so I'm only guessing.

If you are doing it in the grid's init, then I can't reproduce the problem. It works perfectly for me.

If I'm making bad assumptions, let me know. Maybe I'm not really reproducing exactly what you are doing.

Alan

>If you follow the steps I posted yesterday you should be able to reproduce the same error.
>
>1) Create a form class based on form with a grid on it.
>2) create a form based on your form class.
>3) open a table in the load method. ( USE sometable IN 0 )
>4) set the grid RecordSource("sometable") and
> column ControlSource ("sometable.field").
>5) run form
>
>Then take out the use command in the load and open the table in the Data Environment and it should work fine. I think this is a bug.
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform