Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3715 > unrolled thread
| Started by | Martin <spam@spam.spam> |
|---|---|
| First post | 2012-07-06 17:08 +0100 |
| Last post | 2012-07-10 16:09 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Reportpro aDBFSwap issue Martin <spam@spam.spam> - 2012-07-06 17:08 +0100
Re: Reportpro aDBFSwap issue Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2012-07-06 18:17 +0200
Re: Reportpro aDBFSwap issue Martin <spam@spam.spam> - 2012-07-10 16:09 +0100
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2012-07-06 17:08 +0100 |
| Subject | Reportpro aDBFSwap issue |
| Message-ID | <p3EJr.596431$PV.299670@fx09.am4> |
File created, opened and shared using ADSLOCAL
Creates OK, openable in ADA even with report running
"Cannot find <reports directory path>\<index.CDX>"
The DBF and CDX are both open on a local drive and whatever I do I get
this error.
RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
{;
{"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
{"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
{"CUSTOPT", NIL, ;
oFwd:dbCustOpt:OrderInfo(DBOI_FULLPATH), ;
oFwd:dbCustOpt:OrderInfo(DBOI_NAME), ;
oFwd:dbCustOpt:RDDName, ;
oFwd:dbCustOpt };
} }
RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
{;
{"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
{"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
{"CUSTOPT", NIL, , , , oFwd:dbCustOpt };
} }
both fail
[toc] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2012-07-06 18:17 +0200 |
| Message-ID | <hp3ev753knskroi82cpgb3fhtio44g0cko@4ax.com> |
| In reply to | #3715 |
Martin,
the first step is to split your calls.
E.g.
cRP := SysObject():RPTPath
etc.
Karl
>File created, opened and shared using ADSLOCAL
>
>Creates OK, openable in ADA even with report running
>
>"Cannot find <reports directory path>\<index.CDX>"
>
>The DBF and CDX are both open on a local drive and whatever I do I get
>this error.
>
>RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
> {;
> {"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
> {"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
> {"CUSTOPT", NIL, ;
> oFwd:dbCustOpt:OrderInfo(DBOI_FULLPATH), ;
> oFwd:dbCustOpt:OrderInfo(DBOI_NAME), ;
> oFwd:dbCustOpt:RDDName, ;
> oFwd:dbCustOpt };
> } }
>
>RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
> {;
> {"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
> {"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
> {"CUSTOPT", NIL, , , , oFwd:dbCustOpt };
> } }
>
>both fail
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2012-07-10 16:09 +0100 |
| Message-ID | <ZAXKr.642317$ra1.596864@fx05.am4> |
| In reply to | #3716 |
Coding cockup - took ages to find, was failing a condition and going
into a call with that file not in aDbfSwap
On 06/07/2012 17:17, Karl Faller wrote:
> Martin,
> the first step is to split your calls.
> E.g.
> cRP := SysObject():RPTPath
> etc.
>
> Karl
>
>> File created, opened and shared using ADSLOCAL
>>
>> Creates OK, openable in ADA even with report running
>>
>> "Cannot find <reports directory path>\<index.CDX>"
>>
>> The DBF and CDX are both open on a local drive and whatever I do I get
>> this error.
>>
>> RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
>> {;
>> {"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
>> {"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
>> {"CUSTOPT", NIL, ;
>> oFwd:dbCustOpt:OrderInfo(DBOI_FULLPATH), ;
>> oFwd:dbCustOpt:OrderInfo(DBOI_NAME), ;
>> oFwd:dbCustOpt:RDDName, ;
>> oFwd:dbCustOpt };
>> } }
>>
>> RpReport{ SELF, SysObject():RPTPath+cFwd+".rpt", , ;
>> {;
>> {"FWRDPRNT",NIL, , , , oFwd:dbPrntFile },;
>> {"PRNTOPT", NIL, , , , oFwd:dbPrntOpt },;
>> {"CUSTOPT", NIL, , , , oFwd:dbCustOpt };
>> } }
>>
>> both fail
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web