Hi Mike,

see HELP for SET TABLEVALIDATE.  You either haven't set that setting (then the 
default value is 1+2) or you got it wrong :)

The "correct" value would be 1+4 = 5  or a plain 0


wOOdy


-----Ursprüngliche Nachricht-----
Von: ProFox <profox-boun...@leafe.com> Im Auftrag von MB Software Solutions, LLC
Gesendet: Dienstag, 15. Dezember 2020 19:00
An: ProFox Email List <profox@leafe.com>
Betreff: Error 108 - File is in use by another user on INSERT INTO line

VFP9SP2 - Citrix/VMWare server, Win10 desktop image on client

My error handling tripped on this simple line:

                         INSERT INTO broker!doclinks
(ifileid,idoctypeid,crange) VALUES
(thisform.oFile.iid,liDocTypeID,ALLTRIM(loObj.txtRange.value))

VFP Help says this about Error 108:

    Visual FoxPro 9.0 SP2 

    File is in use by another user (Error 108) 

You have attempted a USE, DELETE, or RENAME command on a file that is being 
used by another user on a network.


I don't see why this line of code would throw an Error 108. I guess I'll 
add a simple TRY/CATCH around it to retry it "N" number of times (via DO 
WHILE loop with flag and counter), but tossing this out to the group for 
your thoughts.

Thanks,
--Mike




-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/0be301d6d322$ab5d3710$0217a530$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to