Bonjour pour le code suivant

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
try
{
 
$mysql= new PDO('odbc:recherche','', '');
 $sql="SELECT * FROM frmReport WHERE txtReportID = '2013-00423'";
 $mysql->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);
 $mysql->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
 
 $datas = $mysql->query($sql);
 
 
  foreach ( $datas as $value) {
 
 
 
      print_r($value);
 
 
 
 
       echo "</br></br></br></br>";
}
 
 
}
catch(Exception $e)
{
    die('Erreur : '.$e->getMessage());
}
?>
j'ai l'erreure


Erreur : SQLSTATE[S1000]: <>: 23405 [Lotus][ODBC Lotus Notes]Data truncation for column 37: set length for Text or Rich Text field to higher limit in ODBC.INI (SQLFetchScroll[23405] at ext\pdo_odbc\odbc_stmt.c:528)
je comprend pas grand chose a la doc IBM si on peut m'aider merci

http://www-01.ibm.com/support/docvie...id=swg21340204


et normale que pour certain champs j'ai :

A view of that name cannot be found in the specified database