Why don't you use a cursor in both of forms?
Create it using an SQL command with READWRITE parameter (VFP7 and up), then index the resulting cursor.
In the event of data change, use UPDATES.
It's better to use cursors to display data on grids. If then you want to "filter" the data just issue a new SQL command. I usually use this routine when reloading data to the cursor.
thisform.grid1.recordsource=""
select data1,data2,data3 from mytable order by data2 into cursor mycursor...
Think I did my request unclear
What I asked for was an internet address where someone has compiled a list of the Activex that ship with VFP. I have the idea to try to compile it (with the aid of people around the net) but, I don't know if its been done!!!
I'd like to construct a kind of synoptic...
Someone could point me to the list of Activex controls (and its functionality) that ship with VFP?
I'd also appreciate to know the parameters and other special features they may have.
Thanks in advance
First thing first.
Thanks for the advice. The solution works...!!! [2thumbsup]
What I want to do is (simply stated):
1-Load the cursor/recordset that contains: Invoice,Barcode,Color,Shipment, plus an empty column for the Code.
2-Select the color code from another list.
3-Select a range of cells...
...that comes with VFP7) because i need to be able to select multiple cell for fill them with data.
How can I populate the grid? I've tried:
SELECT * from rollos WHERE procesado=1 INTO CURSOR gaga
thisform.Grid1.r.Recordset = "gaga"
but got the message Ole error Unknown member
Do I need to...
I'm new at administering SQL Server. I'm using the 2000 version, that I recently installed in my system.
The central server is running SQL nad it works fine. I can query and connect to their database. The server runs the core apps normally.
As a developer I need to run a database copy locally...
Ever when working with combos (and grids) that change its content interactively issue a Recordsource command BEFORE recreating the cursor that populates the combo/grid.
Thisform.combo1.recordsource=""
<SQL Statement> into cursor mycursor
Thisform.combo1.recordsource="mycursor"
Note that...
Spread is an ActiveX control (especifically for VB an VC+) that has spreadsheet functionalities. It has a lot of interesting uses, but I'm not sure if it can be worked inside VFP.
My question comes in that I've used Flexgrid (a control also made for VB) and it functions with VFP.
It's possible to use the control Farpoint Spread inside VFP7 or VFP8?
If this is so
How is the right way to create/embed a control an send parameters to it?
Could I issue commands like
thisform.spread1.AnyProperty (where spread is the name of the object)
or is it more complex than this ?
Or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.