Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make a button to browse the user system for files? 1

Status
Not open for further replies.

shelbytll

Programmer
Dec 7, 2001
135
SG
It is for user to upload picture I am a clever newbie...[peace]
 
I don't know if i understand you, but to show folders:

ZM_K=GETDIR('D:\', 'Change folder:')

Monika
Kind regards to you all from Warsaw !!!!!
 
use the getpict() like so:

xpicfile = getpict() && selects any picture in the curr folder
if not empty(alltrim(xpicfile))
select picdbf
append general picfield from (xpicfile)
endif

torturedmind [trooper]

"It is much better to ask shallow questions than to wander in the depths of ignorance..."
 
Ermm... sorry.. think I did not phrase it properly..

I want to have a button.
When user click on the button, a window will pop up to let user select a file in their system.
For example for HTML will be <input type=&quot;file&quot;> I am a clever newbie...[peace]
 
GETFILE([cFileExtensions] [, cText] [, cOpenButtonCaption]
[, nButtonType] [, cTitleBarCaption])

Sorry for your 'update thread' but i don't know why your record is exclusive

Monika Kind regards to you all from Warsaw !!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top