Hi!
 
You should use myTable.setTmpData instead of myTable.data ...
 
Best regards
Carsten F. Frandsen
a-solutions

________________________________

From: [email protected] on behalf of Tri Budianto
Sent: Fri 2/15/2008 9:57 AM
To: [email protected]
Subject: [development-axapta] Temporary table



Hello,

I have temporary table in a form. the plan is, i will fill this temporary
table using storedprocedure.
reading process from store procedure to a buffer is work (i've debug it)
en from this buffer I move the data to temporary table.
but when open the form
i have message "The record has been deleted by another user"
can someone help me..

this is my code snippet

Connection conn;
Statement stmt;
ResultSet resultset;
myTable buffer;
str spParm;
int i;
;

conn = new Connection();
stmt = conn.createStatement();
resultset = stmt.executeQuery(strfmt("exec sp_reportsform '%1'",
curext()));

while(resultset.next())
{
buffer.SalesId = resultset.getString(1);
}
myTable.data(buffer);

many thanks..

-- 
Best Regards,
Tri Budianto

[Non-text portions of this message have been removed]



 


[Non-text portions of this message have been removed]

Reply via email to