Search found 4 matches
- 08.06.2011, 11:57
- Forum: PostgreSQL
- Topic: required but not supplied
- Replies: 1
- Views: 1547
required but not supplied
Hello, I'm trying to migrate from the lib version 6.5.1 to version 6.6.6. I have a problem with the property required: I have to open the query and put this property to false otherwise I Delphi raises an exception of type "field x is required but not supplied". There is a solution to avoid...
- 14.10.2009, 21:19
- Forum: PostgreSQL
- Topic: Problem with upload file into PostgresDb
- Replies: 4
- Views: 846
- 13.10.2009, 07:48
- Forum: PostgreSQL
- Topic: Problem with upload file into PostgresDb
- Replies: 4
- Views: 846
- 12.10.2009, 09:06
- Forum: PostgreSQL
- Topic: Problem with upload file into PostgresDb
- Replies: 4
- Views: 846
Problem with upload file into PostgresDb
For upload a file into db i use this code ot := TOpenDialog.Create(self); qry := TZQuery.Create(self); qry.Connection := db1; ot.Execute; qry.SQL.Add('insert into tbfile (filename,content) values (:filename,:content)'); qry.ParamByName('filename').AsString := ExtractFileName(ot.FileName); qry.ParamB...