Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Pdf file in the Database
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
I hope FreePascal can sup...
by
xiyi0616
[
Today
at 05:49:05 am]
Ann: DeCoperators
by
Fibonacci
[
Today
at 03:59:13 am]
[Solved] Help needed comp...
by
landolfi
[
Today
at 02:45:10 am]
Delimited text - how find...
by
Remy Lebeau
[
Today
at 02:26:15 am]
AI assisted translation o...
by
MathMan
[
Today
at 12:55:30 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 16, 2026, 11:27:18 pm]
[FPC 3.2.4, Windows] PTC ...
by
Fred vS
[April 16, 2026, 08:26:24 pm]
Cannot build Units for Si...
by
NormanDunbar
[April 16, 2026, 07:39:07 pm]
IDE: Property editor does...
by
dsiders
[April 16, 2026, 07:04:22 pm]
What is wrong with this c...
by
OH1KH
[April 16, 2026, 04:32:48 pm]
FPC Unleashed (inline var...
by
LeP
[April 16, 2026, 04:22:24 pm]
[work arounded]Naming dae...
by
LeP
[April 16, 2026, 03:36:10 pm]
Lazarus Bugfix Release 4....
by
Jonax
[April 16, 2026, 03:06:25 pm]
Error: Compilation raised...
by
janasoft
[April 16, 2026, 02:29:19 pm]
CudaText editor (written ...
by
AlexTP
[April 16, 2026, 10:43:12 am]
C header function with on...
by
440bx
[April 16, 2026, 09:13:38 am]
(Solved)TUpDown KeyDown ...
by
LeP
[April 15, 2026, 11:21:09 pm]
Zipper: Addition of mult...
by
marcov
[April 15, 2026, 10:35:15 pm]
Seeking advice on setting...
by
gidesa
[April 15, 2026, 07:02:04 pm]
GTK3: FillRect() mispaint...
by
baldzhang
[April 15, 2026, 06:32:52 pm]
Lazarus Image Editor
by
Paolo
[April 15, 2026, 05:37:30 pm]
RunFormula: math expressi...
by
Handoko
[April 15, 2026, 01:24:30 pm]
How to merge multiple cla...
by
cdbc
[April 15, 2026, 12:48:42 pm]
PWM signals, atmega328p, ...
by
pascalbythree
[April 15, 2026, 12:39:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Pdf file in the Database (Read 2743 times)
elidorio
Sr. Member
Posts: 295
Pdf file in the Database
«
on:
October 10, 2013, 04:19:06 am »
Hello,
How to save and retrieve a pdf file in the database. I'm using postgresql?
--
Edson
Logged
Lazarus 1.4.4 | FPC 2.6.4 | Windows / Linux Debian
kpeters58
Sr. Member
Posts: 267
Re: Pdf file in the Database
«
Reply #1 on:
October 10, 2013, 04:48:34 am »
Hi Edson,
look here
http://forum.lazarus.freepascal.org/index.php/topic,16205.0.html
Assuming that you want to read and write your PDFs from/to your file system, make some small adjustments to the code posted above and you should be good to go.
Cheers,
Kai
«
Last Edit: October 10, 2013, 06:39:38 pm by kpeters58
»
Logged
Lazarus 2.0.4/FPC 3.0.4/Win 64
BigChimp
Hero Member
Posts: 5740
Add to the wiki - it's free ;)
Re: Pdf file in the Database
«
Reply #2 on:
October 10, 2013, 11:53:47 am »
See here:
http://wiki.lazarus.freepascal.org/Databases#Inserting_a_new_record
Logged
Want quicker answers to your questions? Read
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero
Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Pdf file in the Database
TinyPortal
© 2005-2018