Issue: When you do a READU on a record that doesn't exist, the first time it fails and hits the exception, but the second read is successful - even though the record still doesn't exist.
Why? Is this a bug? try { UniSession u=UniObjects.OpenSession("host", "login", "passwd", "account", "uvcs"); UniFile file=u.CreateUniFile("filename"); file.UniFileLockStrategy = UniObjectsTokens.UVT_EXCLUSIVE_READ; UniDynArray record; for (int i = 0; i < 2; i++) { try { record = file.Read("reckey"); txtStatus.Text += string.Format("Try#{0}: read successful\r\n", i); } catch (Exception ex) { txtStatus.Text += string.Format("Try#{0}: read exception: {1}\r\n", i, ex.Message); } } UniObjects.CloseSession(u); } catch (Exception ex) { txtStatus.Text += string.Format("session exception: {0}\r\n", ex.Message); } Patricia M. Wilson MIS x 3095 813.635.3095 [EMAIL PROTECTED] ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/