Subject |
Re: getfile method problem |
From |
Charlie <tn@tc.com> |
Date |
Sat, 20 Apr 2024 19:13:44 -0400 |
Newsgroups |
dbase.getting-started |
is there something wrong with this newsfield.. I have replied twice and don't see either.. At any rate Ken, I tried both true and false and same results.
Ken Mayer Wrote:
> On 4/20/2024 12:22 PM, Charlie wrote:
> > I am working with images and am using the following directory in order to see the images:
> >
> > path1 = trim(form.memo1.rowset.fields["pics"].value)
> > a = new array()
> > a.getFile(path1+"\", "Choose Files", false) > 0
> >
> > This code is for oodml, but I am also using some xdml functions in the program. It took me a while to figure this out if you open the getfile() function somehow it closes xdml database. oodml still works but the xdml or dos tables are not found.
> >
> > Has anyone else run into this? Is there something I can do to prevent this from happening? A work around?
> >
>
> No, but if you change the last parameter to true, the option to select a
> database will not appear on the dialog:
>
> a.getFile(path1+"\", "Choose Files", true) > 0
>
> Ken
>
> --
> *Ken Mayer*
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
> dBASE DOS to Windows Tutorial:
> http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
>
|
|