Hi Ruan
it does work 100%. It is supposed to add ONE record, and it does just that.
Your current problem seems to come from the fact that you do not know or
understand the different types of table:
1- based on a file
2- based on a query
3- filled by code
You are currently in mode 3... In this mode, you fill the table AND do
the saving by code. The table is juts there to SHOW the data.
In mode 1, your table will save any change in the table for you...
In mode 2, IF your query is in EDIT mode (option) and only work on ONE
file (no multifile queries), then the table can also write the edits in
the query and file.
For more information, read the help file about the tables and their
different options
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.comOn 4/24/2014 5:20 AM, Ruan wrote:
Ruan wrote:
Ruan wrote:
Good Day
I ran into what I believe a very simple issue. I have a table that i
fill with the "TABLEADDLINE" procedure. What I cannot figure out is
how to "HADD" / "SCREENtoFILE" to my data Table...
What am I missing?
Thanks
When I do This:
Customer.LastName = LastNameColumn
Customer.FirstName = FirstNameColumn
Customer.Address = AddressColumn
Customer.ZC = ZCColumn
Customer.City = CityColumn
HAdd(Customer)
it works 100%. But why does does:
TableSave(TABLE_Customer)
Not work>
Thanks
Sorry actually it's not working 100%, it only saves the selected item in
the Table and not everything in the table