From: Alan Robson
Visual FoxPro 5
Tuesday, April 15, 2003 1:58:34 PM
This message was rated by:
Where and how are you assigning the values to the grid columns ?
> Respected craiq Moore
> As you have mentioned i have used sql statement with a vaiable names "msele" which i asign to the rowsource of the grid. I have also put the sql stat into a cursor named "potab". When i asign the value for the columns in the grid as "potab.column_name" , i get an error saying "potab alias not found".
> I have checked where i have given alias & i have not given. I have also checked if i have given "rowsource type as 3" which i have given. I checked for loss of records, but i have plenty of records in the tables i have selected. Can you plz me immediately.
> > It depends, is the grid just to view data or do you need to edit it, if it is just for viewing data then I would use an sql statement as the control source for the grid this way you can use the where clause to filter the data, if you need to change, add and update data then I would probably use an updatable view again using a parameter to filter the data.
> > >
> > > I have a form with two option buttons - one button for "MOS VENDOR" and another for "OE VENDOR" . Onclick of "MOS VENDOR" option button the combo box should be filtered based on the type of vendor. From the filtered combo the data in the grid has to be filtered in accordance to the type of vendor. Can anyone help me.
> > >
> > > Regards
> > > Vijayendran S
> Vijayendran S
Posted by Vijayendran @ 4/11/2003 1:15:59 PM
Posted by Craig Moore @ 4/11/2003 3:36:57 PM
Posted by Vijayendran @ 4/15/2003 12:25:56 PM
Posted by Alan Robson @ 4/15/2003 1:58:34 PM
Posted by Vijayendran @ 4/16/2003 5:06:06 AM
Posted by Alan Robson @ 4/17/2003 10:19:29 AM
Posted by Vijayendran @ 4/17/2003 10:45:24 AM