Re: open file dialog box in access 2000
From: Douglas J. Steele (NOSPAM_djsteele_at_NOSPAM_canada.com)
Date: 02/13/05
- Next message: mahi: "Re: Executing a specific sub when switching between records on a form"
- Previous message: Neil Ginsberg: "Re: Returning Focus to Main Form"
- In reply to: MS Access 2000: "open file dialog box in access 2000"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Feb 2005 14:06:47 -0500
The only way you can save the selected value is to store it somewhere:
controls on forms don't have any way to store values themselves.
That usually means binding the textbox to a field in the form's recordset,
although you could conceivably store the value in an INI file, or in the
registry or even in a custom property of the database.
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "MS Access 2000" <miriamnews@fischerinc.biz> wrote in message news:Of%23eiyfEFHA.2032@tk2msftngp13.phx.gbl... > Hi, > I'm working on a form where I want to be able to open the "open file" > dialog > box, select a file, and save the filename into a textbox on the form. > I don't have much experience in Access or VB or anything but I figure > things > out as I go, so I'm pretty much working blind. > I followed instructions here: > http://support.microsoft.com/default.aspx?scid=kb;en-us;303066 and got it > to > work (dialog box opens, I select a file and click "open", filename and > path > appears in the textbox), but when I close the form it removes the file > name > from the textbox, and when I open the form again the textbox is blank. > Can somebody help me please? > Thanks, > Miriam > >
- Next message: mahi: "Re: Executing a specific sub when switching between records on a form"
- Previous message: Neil Ginsberg: "Re: Returning Focus to Main Form"
- In reply to: MS Access 2000: "open file dialog box in access 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|