Tamblyne a écrit :
Hi Tam,
What I have so far is (1) a field (LocalPath) for the local path of my document, image, etc., (2) a button that opens it in FireFox (this works fine for my needs and avoids the default program issue for JPGs and PDFs, etc.) and (3) a File Selection control. What I've been doing to test the macro (big thanks to Steveeh131047 on the OOoForum who posted it, if you're here!) is to use the File Selection field to find the file, and then I've been copying and pasting the resulting path into my LocalPath field.
Roberto Benitez's book on Programming OpenOffice.org Base deals with using the file picker to get streams of data or Media URLs and then pass them as a variable to your database. You might want to check it out, so far, I've found this book pretty good.
Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
