Hi Everyone,
Maybe I have fried my brain on caffeine. Here is my problem:
I want to open a dialog box to search files on a local drive.
Using the dialog box I want to select a single file or multiple files of different types (doc, pdf, xls, jpeg, etc)
I want to save the files in a dataverse table called "Jasonfiles"
In Jasonfiles there is a field called 'Document1' field type "File"
Me being the lazy programmer I am, I thought I would save a pile of time using the "Add Photo" control since it appeared to have everything I needed built in.
BUT...
If I add a "Add Photo" control called "AddMediaButton1" and use this control to select a file it appears all the file data is contained in the property "Media"
AND...
AddMediaButton1.Media is of type 'Text'
So does anyone know a easy way to convert AddMediaButton1.Media into a 'File" type to save into Document1?
Or for that matter does anyone have an easier solution to what I am trying to do?
Thanks
Jason