Viewing A Directory

Sep 6, 2006

Hello Access gurus
I hope I am in the right place to start this off
I had D/b all set up but i need to have on my form a view of directory(s)

I have button that creates the folder (many thanks to the person whom gave me this )
but what i want to be able to do is preview this witihn my form

so on my form I want a box that will show what i have stored in this folder (which could be word or pdf or xls)
my button will create C: empfiling filenumber & filename ( about 20 chars)
so my form need to be able to preview all files within this folder ( I hope that I have at least half way explained what I am after
Access 2000 - and reasonable expereince (not brillaint at advance VB )

any thoughts regards

View Replies


ADVERTISEMENT

VB Directory Listbox

Apr 13, 2006

Can you use a VB6 directory listbox control on a MS Access form to display the directory structure? If so, how do you do it?

Or is there some other way to display a user selectable directory structure on an Access form?

Thanks
tw

View 2 Replies View Related

TreeView Of Directory

Feb 22, 2006

Hi All,

I've been trying to use TreeView control to display my computer's directories and folders just like Windows Explorer does.

Thanks to Popeye for reposting all the Treeview samples (samples posted before the site was hacked). Most or all of these samples, TreeView is used to display data out of tables. Mr. Ghuson posted a great example for browsing directory but it pops up a separate windows for browsing.

Now I'd like to somehow combine the two into one; browsing thru directories and folders using TreeView Control. Yes that I can browse and save all paths and directories to different tables and add them to the TreeView control but I'm trying to stay away from saving data to tables first.

Can this be accomplished? Can Windows Explorer be somehow embeded on an Access form or called? Any ideas, experts out there?

Thanks all in advance.

View 14 Replies View Related

Get Directory Path

Jul 13, 2006

Anyone got any ideas how to get the directory path where the database is running?
Thx in advance
Bob

View 2 Replies View Related

Need Help Building A Directory.

May 8, 2006

I have made an Access database containing contract names and addresses. I need to have each of these contracts linked to another table which shows the allocated engineer for the particular contract. I used a "one 2 many" relationship using a field "LinkID" to do this. Each engineer has a unique "LinkID" in the engineer table but the engineer changes each day. The engineer for each particular day comes via an excel spreadsheet. The way it works at the moment is that the engineer name has to be manually changed each day, and this takes time. I have tried importing a linked excel table which looked like it would work, but was not able to use the linked table in the same "one 2 many" related table format as above.

What i need to do, is find a way for the fields containing the engineer name to be automatically updated somehow, possible by reading the values from the excel sheet.

Anybody know of any way for this to be done?

Thanks, and hope this makes sense got its got me baffled.


*** Edit **** Thinking about it, i could have an imported execl sheet which contains all of the engineers for each day. Would there be a way using a macro, to update the data in the engineers table that is related to the contracts, by overwriting it with the data from the linked spreadsheet?

View 4 Replies View Related

Get Path (Directory)

Nov 15, 2005

Hi,

In MS Access,

DoCmd.OutputTo acOutputReport, "Appr", acFormatRTF, "P:Appr.rtf", False

I want output the file in the current directory,
the above code is specific the path,
how can I edit the current path, so whereever the the database is either drive, they still can work.

The concept is like that
DoCmd.OutputTo acOutputReport, "Appr", acFormatRTF, currentdirectory:"Appr.rtg", False

Please let me know, thanks.

View 1 Replies View Related

Directory Browse

Oct 5, 2006

I have a form where I want to browse for the directory path and display in a text box.I have done something similar to browse for file and display, but this time round I need only the directory path to be displayed .Need help on this.

View 1 Replies View Related

Directory List

Apr 18, 2007

Is there a way to make a directory box, like you can find invisual basic, that you can dynamically search folders for files?
Thanks

View 1 Replies View Related

Directory Search

Jan 25, 2008

I'm hoping someone can help me with this.

I would like to be able to provide a directory search form in my database. This is to enable staff to locate files that they would like to attach to the report they are submitting.

I don't seam to be able to find a control to do this.

We have Access 2000

Any help sample code ect would be appreciated.

Thanks in advance

David

View 1 Replies View Related

Way To Open Directory

Jan 29, 2013

We decrypt about 130 different files into an internal directory by using code that was created in Access 2010. I would like to open that directory with the files that were decrypted for that day so the user can confirm that the process was completed. I use the Shell command throughout the code but I cannot figure out a way to open the directory.

View 1 Replies View Related

Viewing All Records

Apr 18, 2006

Hi, can anyone please help me.
I've just set up a form with 2 pages which I can add data into, but for some reason, I can't view all records.
I've tried using the switchboard to add buttons to both add records and view (but they both only add), and i've also set up my own button with the instruction to view all records, but it just won't work.
On the first page the data source is tbl_CompanyInfo, and on the second page, the data source is a subform with the data source tbl_Contacts. The subform will link contacts to the company info via the CompanyID field. I hope that makes sense.
Can anyone please tell me how I can view all of the data via the form.
Thanks very much

View 5 Replies View Related

Viewing Only Those Data With Value

Sep 29, 2006

I'm wondering how can I view only those query data with value in certain fields.

For example in a record of students with check marks, view only those students with check marks and leaving those having no check mark out.

I know it has something to do with the criteria but not sure what. I've already search the MS Access Help as well as this forum and have not found anything.

Thanks in advance.

View 1 Replies View Related

Subform Viewing

Jul 21, 2006

I am working creating a data entry form. I am using the data entry option in the form properties to do this. However, when I do this, my subforms do not display any information.

Ideally, I would like them to display information when the field linked to the subform is entered on the main form. Is there an option for this ?

Any help is appreciated. Thanks.

View 3 Replies View Related

Link With Active Directory

Apr 26, 2005

Hi All

I have a small Help Desk db with tables that contain computer spec and user information. But I already have all this information in Active Directory and it seems pointless entering the information twice.

Is there any way i can get the database to lookup the information from Active directory i have no idea where to start.

Thanks

View 1 Replies View Related

Open A Directory From Access

Nov 30, 2005

Hi, I wish to open a folder/directory (not a file) using the onclick event of a cmdButton. Any ideas out there?

Robb:D

View 1 Replies View Related

Calling A VBScript In A Directory

Oct 21, 2006

Hello, I have a VBScript that when clicked on opens the command prompt and fires code to upload a query to my website.

What I would like to do is place a command button on my form that will call the script to run instead of having to go and click on it.

I have searched, maybe using wrong terms, but havent been able to get the right code to do this

any help to call this script from a command button would be appreciated.

View 2 Replies View Related

Importing Directory Listing

Mar 13, 2007

Hi,

Having recently correlated the impossible pile of photos that I have on CD, including a lot of re-naming etc... I have now managed to get them down onto DVD.

I there an easy way to import a directory listing into an access database other than inputing the lot by hand? I don't wan't to add thumbnails just the file name and the directory it's in. I can embelish other details later via ASP, just need the bulk of the work done easily.

I have some experience of database design but not huge amounts of programming, other than the ASP side of things so if anyone has a complex answer please go gently with me!!!

Al

View 4 Replies View Related

Add User And Create Directory

Feb 28, 2006

hello all and thanks in advance

here it what im trying to do

i have a client form to input client info

i want to take the address field and create a directory on a specified drive when i click a add record button and store that path in the table so i can call up files that will be scanned later.

been looking all over need help

B

View 2 Replies View Related

Check A Directory From Access

Aug 20, 2004

Hello creators,

I have a little problem and it is creating and checking directories.

In my database I have a form, on it you can see a record of a project. This project has a keyfield called projectno.
On this form there is a button to create a directory with the projectnumber. So far so good. (code example: MkDir ("C:projects444323")

My problem:
If the directory for some reason already exist the code stops and gives an error.

Now I want to create some code that checks if the directory already excist so than I can skip making the directory.

Thanks for the help!!!!!

View 2 Replies View Related

File Upload To A Directory

Nov 20, 2007

hello good day. hope im inthe right place.
can someone point out to me if there is a way to do a file upload using ms access 2003 and not just stor the file path...thanks

View 14 Replies View Related

List Files In A Directory

Feb 25, 2015

i am new to access. how to create a list of files in a directory outside of the access program C:UsersalDesktopMSACCESS PROGRAM is the location

View 2 Replies View Related

Viewing HTML In A Form

Apr 14, 2006

I've used Access 2003 to create a database which contains a table linked directly to the "Orders" table on my mysql server. This table holds all of the customer orders placed on our website. I next created a form in access to give me a nice justified view of the orders.

My Problem? The field on the mysql server that holds the line item details for each order is a "Memo" field, and all of the text is formatted in html it appears. When viewed on the form, I see the all of the raw code, and not the nicely formatted text. If i highlight a section of the code from the form, and paste it in a Html editor (Frontpage for example), I see the line items nicely formatted as intended.

Is there a way to get this memo field to display the formatted html text instead?

My access skills are pretty limited, so detailed steps would be appreciated.

View 3 Replies View Related

Size Of Viewing Window?

Mar 4, 2007

Hi All,

users can opening a file (either .doc, exe or .pdf) with additional data to the record they're looking at by clicking on a icon on a form. The icon has code behind it that opens the document (Application.FollowHyperlink NameDocTo Open). That opens the doc OK, no problem, but what is a problem is that the window for this document is exactly the same size as the window of the access form from which the second doc is opened.

The size of the access window is defined. I'd like to get the word or excel or pdf to be maximized. The weird thing is that I use the same code in another database and there the 'secondary doc' opens in a new window and of large enough size. How can the same code generate 2 outcomes? And how can I fix the issue described?

Thanks guys.

View 1 Replies View Related

Record Viewing Within Tables

Apr 29, 2008

I was wondering if there is some setting that can be set such that certain records within a table are not visible when the table is opened, or a form is accessing its records.

It seems from time to time, some records seem to 'disappear' from view?!?

Other than a filter...

Does anyone know how this is possible, and what can be set or specified in order for this to be happening?

Thank you for any enlightenment...

View 2 Replies View Related

Viewing Contents Of Two Tables

Aug 27, 2007

Greetings to All,

I have one table (tblLink) that resides on an SQL Server quite a distance from me. I have another table (tblLink_r) that resides in a local .mdb file. The tables are identical except for the data they contain and where they are located. Only one index (LinkIdx=autonumber) exists. I am making sure there are no duplicate indicies in the LinkIdx fields because I started the LinkIdx field in tblLink_r at 2100000000.

When I open tblLink (remote), I can scroll to the end of the 21,000 records relatively quickly - read: little latency. Queries performed on this table similarly show little latency.

When I open tblLink_r, I also have little latency. This table has 100 records.

I need a single object which contains the contents of tblLink and tblLink_r. I have tried a UNION ALL, but this query takes upwards of 4 minutes to complete which I can't understand since either of the constituent tables only take ~.5 seconds to call up.

I am hoping someone can provide a way to speed up the UNION ALL query or provide an alternate means to combine the contents of these tables.

View 2 Replies View Related

Hiding And Viewing Subforms

Jan 26, 2005

I have a form with a subform on with the visible value set to false. After a value has been selected from a combo box i then want this subform to show. Tried calling the form using me!formname.visible = true in the afterupdate but it says it cant find the form.

Any Ideas how

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved