hi all,
I'm wondering why 2 users can have locks on temporary tables.
Example: I use a report processingOnly.
DataItem is Item (T27)
Create a TEMP Glob/Var on ItemLedgerEntry
OnAfterGetRec : insert an itemLedgerEntry for each item. (just for tests reason, don't look for any logic behind)
Run the report concurrently with 2 different users. You'll get a Table Lock problem. How is this possible? Temporary is running in Memory in 2 different instances. I don't understand.
Thanks for tips!
Regards
Chris
#### Only one can survive ######
0
Answers
@Developer101 : Yes Var is set as temporary, that's exactly why I don't understand my locking problem- temp tables should be manipulated independently per instance but my locking errors proves the opposite.
I would be very surprised that temptable inserting locks records.
I think more that you have missed something in your code.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!