Juan Alonso
2004-08-17 20:42:29 UTC
Hello.
I have an application I am building in VFP8.
The problem I am having is that I use two tables. One is just for
information, the other is to put the information into.
The first table is created with a SQL - VIEW command. The second is created
from a blank stucture.
The second table seems to be re-created automatically when ever I run the
SQL - VIEW to get more info to put in.
I use a variable called: "LISINVOICE" and "!USED('INVENT') to make sure the
I am creating an invoice and that the table does not exsist.
Well in my Debug window I typed in the WATCH window:
used('invent') = .t.
!used('invent') = .f.
reccount('invent') = 0
The above display is what I start with. Then "reccount" turns to 1, but
when I run the SQL - VIEW again and select an item, instead of adding it to
the new temporary table it re-creates the table from scratch and puts only
the last record I selected in the table.
Any ideas why?
I have searched everywhere for possible forgotten codes and I have nothing
that even calls the Work Environment nor the Table Name or Alias.
I am tired of tampering with this. Can anyone help me here.????
Thank you in advance,
John
I have an application I am building in VFP8.
The problem I am having is that I use two tables. One is just for
information, the other is to put the information into.
The first table is created with a SQL - VIEW command. The second is created
from a blank stucture.
The second table seems to be re-created automatically when ever I run the
SQL - VIEW to get more info to put in.
I use a variable called: "LISINVOICE" and "!USED('INVENT') to make sure the
I am creating an invoice and that the table does not exsist.
Well in my Debug window I typed in the WATCH window:
used('invent') = .t.
!used('invent') = .f.
reccount('invent') = 0
The above display is what I start with. Then "reccount" turns to 1, but
when I run the SQL - VIEW again and select an item, instead of adding it to
the new temporary table it re-creates the table from scratch and puts only
the last record I selected in the table.
Any ideas why?
I have searched everywhere for possible forgotten codes and I have nothing
that even calls the Work Environment nor the Table Name or Alias.
I am tired of tampering with this. Can anyone help me here.????
Thank you in advance,
John