473,378 Members | 1,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Display a saved file by clicking on button in Access

50
Hi there..

I have a access form which store the information of each invoice with a unique id , for example
"INV 0100" and for each record of invoice there is a related pdf file which belong to it. For instance,
"INV 0100-P85037 belong to invoice "INV 0100".
i did not save the pdf file in invoice table, but what i need is, when i click on the a button "View File", the correspondence pdf file will be displayed for the current record.
Is this make sense ? or i need to save the pdf file into the invoice table in order to reach this?

I am waiting for the solutions as soon as possible, many thanks.
Feb 18 '08 #1
2 1287
PianoMan64
374 Expert 256MB
Hi there..

I have a access form which store the information of each invoice with a unique id , for example
"INV 0100" and for each record of invoice there is a related pdf file which belong to it. For instance,
"INV 0100-P85037 belong to invoice "INV 0100".
i did not save the pdf file in invoice table, but what i need is, when i click on the a button "View File", the correspondence pdf file will be displayed for the current record.
Is this make sense ? or i need to save the pdf file into the invoice table in order to reach this?

I am waiting for the solutions as soon as possible, many thanks.
The easist way to figure out what the name of the PDF file is, to store that info in the table. Then when you want to open that just simply execute a SHELL command and include the path and file name of the PDF document.

That should be the easist way to do it.

Hope that helps,

Joe P.
Feb 18 '08 #2
beemomo
50
Dear Joe P:

thanks for your suggestion, i have find a solution for it.
i store the path of the pdf file for each correspondence record in the invoice table by clicking on a browse dialog button on the form. Then the field for storing the path name is set to "Hyperlink" data type, therefoe the user can just click on the hyperlink that appears on the form to open the pdf file.

Cheers.
Feb 19 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: timbratureman | last post by:
I have a txt file in my server. I have to provide to the user 2 links. One link is to download the file and the other one is to display it inside the browser. Is it possible? I made <a...
5
by: Jack | last post by:
Hi, I need to build a asp page where it would serve as a data entry record page as well as display page for records saved. This page should also allow editing of records that has been saved. ...
3
by: chuck | last post by:
Hi, This is a test for a larger form i am working on. I want to have a real time display of the radio button value when selected. I tried with various event handlers with varying success. The...
4
by: Pieter Linden | last post by:
In Access 2000, I would have sworn I could see the controltiptext of a button without clicking on it. Can this still be done in AccessXP? If so, does someone have a code snippet showing how to do...
4
by: dixie | last post by:
I need to be able to open a pdf file by clicking a button on a form in Access 2000. All computers will have the latest Acrobat Reader already installed on their network. Is there a reference to...
5
by: RickDee | last post by:
Please help, anybody. I am trying to write a program so that it can launch an exe file ( which is also genereated in C# ) and then simulate the button clicking and invoke the methods inside the...
3
by: remya1000 | last post by:
i'm using ASP with MSAccess as database. i have two buttons and two textbox in my page. when i press my first button (First month) i need to display the current month in one textbox and last one...
15
by: cssExp | last post by:
hello, Rather than going on a wild explanation on what's the the problem, it'll be much quicker and easier if i let you look at it yourself, so I'll post my page source (actual contents taken out,...
0
by: remya1000 | last post by:
I have a field called Departments in my database. and I have 3 monitors. So when Page_Load, I need to check number of departments I have in database. And depends upon that number of departments I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.