As a further to the previous.... The solution I am looking at would use Windows own dialogs, that would be much faster than the RBase Form based solution, which for this use would be a couple of layers closer to what it takes to populate the dialog thereby getting the dialog in front of the user much quicker....
> ----- Original Message ----- > From: "David M. Blocker" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, March 27, 2003 9:21 AM > Subject: [RBG7-L] - Re: Capture file name from File List Box > > > > That's the question. > > > > Razzak, anyone else, care to jump in here? > > > > How can we use those wonderful new controls - directory and file trees - > to > > capture user selections? > > > > David > > ----- Original Message ----- > > From: "Emmitt Dove" <[EMAIL PROTECTED]> > > To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> > > Sent: Thursday, March 27, 2003 7:32 AM > > Subject: [RBG7-L] - Re: Capture file name from File List Box > > > > > > > Sorry, David, I wrote that response after a very long day of challenging > > > airline travel. > > > > > > My thinking was simply to capture the directory and then put the choose > in > > > an entry eep on a variable located on the form, but then how do you > > capture > > > the directory, right? > > > > > > I'm awake now. > > > > > > >OK, Emmitt, so how would you use that on a form? Have a directory > > control > > > >to select the directory, then click on a button to see files in that > > > >directory with CHOOSE? It's cool, but the directory control and file > > > >control are SO slick the way they work together - clickkon the > directory > > and > > > >the list of files in the file control automatically and immediately > > chnages! > > > >I just want to capture that file in a variable!! > > > > > > > >David Blocker > > > > > > > >----- Original Message ----- > > > >From: "Emmitt Dove" <[EMAIL PROTECTED]> > > > >To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> > > > >Sent: Wednesday, March 26, 2003 10:30 PM > > > >Subject: [RBG7-L] - Re: Capture file name from File List Box > > > > > > > > > > > > > CHOOSE varname FROM #LFILES ... > > > > > > > > > > >Hi folks > > > > > > > > > > > >I want to set up a form where the user can > > > > > >1. click on a directory > > > > > >2. click on a file from a list in that directory \ > > > > > >3. and have the file name stored in a variable so that the calling > > > >program > > > > > >can do a LOAD table FROM .varname command. > > > > > > > > > > > >The Directory Tree and File ListBox controls work beautifully > > together to > > > > > >accomplish steps 1 and 2, but then what? The File List Box does > not > > send > > > > > >the resulting file name to a variable. Any ideas on what can be > done > > > > > >instead? > > > > > > > > > > > >David Blocker > > > > > > Emmitt Dove > > > Manager, DairyPak Business Systems > > > Blue Ridge Paper Products, Inc. > > > 40 Lindeman Drive > > > Trumbull, CT 06611 > > > (203) 673-2231 > > > [EMAIL PROTECTED] > > > [EMAIL PROTECTED] > > > > > > > > > > >

