Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10066
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: DBF opening |
| Date | 2016-12-15 11:49 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <o2uhgl$7qg$1@dont-email.me> (permalink) |
| References | (3 earlier) <23971559-488d-452a-9407-7d155066752b@googlegroups.com> <o2ucfj$jd1$1@dont-email.me> <6f6956be-61c4-43e5-b5fd-7443f79495eb@googlegroups.com> <329c5f13-efd0-4191-b471-599b6661e921@googlegroups.com> <o2uf4g$sgm$2@dont-email.me> |
Here is the offending line (the middle one): SetDefault(SELF:cPath) SetPath(SELF:cPath) cFullPath := Alltrim(SELF:cPath) + "LProfile.dbf" I had to comment out the middle line. The program works now, but I don't know why commenting out that fixed it. SELF:cPath is right - I checked it. I have hard coded this early in the program as a default: cPath := "V:\data\" SetPath(cPath) SetDefault(cPath) After playing around I realized that SELF:cPath was not trimmed (it came from a dbf). The program worked for years that way until this week! Oh well, it works now. Thanks everybody. James On 16-12-15 11:09 AM, James Martin wrote: > I have narrowed down the lines that make the problem. I should know > shortly what is the problem. > > James > > On 16-12-15 10:52 AM, dlzc wrote: >> On Thursday, December 15, 2016 at 8:51:25 AM UTC-7, dlzc wrote: >>> Dear James Martin: >>> >>> On Thursday, December 15, 2016 at 8:23:53 AM UTC-7, James Martin wrote: >> ... >>>> I have specified shared, readonly, and the >>> RDD driver. It won't open. >>> >>> Did you try to open, in your simple program, shared, *and* readonly? >> >> Note that you are getting a lock error, yet telling it (by "shared") >> that you intend to apply locks. >> >> David A. Smith >>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
DBF opening James Martin <james@northwoodlumber.com> - 2016-12-13 15:01 -0500
Re: DBF opening JohnMartens <martens@tennishulp.info> - 2016-12-13 21:32 +0100
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-13 16:17 -0500
Re: DBF opening "Jamal" <noooospam@example.com> - 2016-12-14 00:58 -0500
Re: DBF opening Frans Wauters <info@wautersit.com> - 2016-12-14 05:12 -0800
Re: DBF opening dlzc <dlzc1@cox.net> - 2016-12-14 05:59 -0800
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-14 11:27 -0500
Re: DBF opening dlzc <dlzc1@cox.net> - 2016-12-14 11:35 -0800
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-14 14:47 -0500
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 10:23 -0500
Re: DBF opening dlzc <dlzc1@cox.net> - 2016-12-15 07:51 -0800
Re: DBF opening dlzc <dlzc1@cox.net> - 2016-12-15 07:52 -0800
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 11:09 -0500
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 11:49 -0500
Re: DBF opening "Jim" <nospam@example.com> - 2016-12-15 10:58 -0500
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 11:08 -0500
Re: DBF opening Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2016-12-15 17:38 +0100
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 11:51 -0500
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 12:16 -0500
Re: DBF opening "Jamal" <noooospam@example.com> - 2016-12-15 14:58 -0500
Re: DBF opening James Martin <james@northwoodlumber.com> - 2016-12-15 15:11 -0500
Re: DBF opening D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-12-16 10:56 +0100
Re: DBF opening Kuno Egger <kuno@retailsoftware.com> - 2016-12-16 16:15 -0800
Re: DBF opening "Jamal" <nospam@example.com> - 2016-12-16 23:59 -0500
Re: DBF opening D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-12-18 18:03 +0100
Re: DBF opening dlzc <dlzc1@cox.net> - 2016-12-18 10:26 -0800
csiph-web