Hi
I hope someone can help, I am having a weird error - with the simplest of datawindows and programmes
I have just installed pb2022 R3 - on windows 10
I have it connected to SQLexpress database - v14.
I have a very very simple 2 column table with a column = id type int and a column =name varchar(50)
i created a grid style datawindow - with just this table and the 2 columns
if i view and edit the data using the window in the IDE - i can insert lines and it updates correctly
when i run the programme - my insertrow(0) - adds the line - i can type in the id and as soon as i tab to the name the new line disappears.
the datawindow is connected via the sqlca object and i retrieve it okay.
If at runtime instead of inserting a row , i use an insert into script in powerbuilder - it adds the record and can be retrieved in the datawindow
What am i doing wrong - i have very little experience of MS Sql - normally user other dbs
thanks in advance
Andrew