473,395 Members | 1,996 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,395 software developers and data experts.

PDF won't open using PHP

14
Expand|Select|Wrap|Line Numbers
  1. <?php
  2.     include 'includes/configenquirer.php';
  3.     include 'includes/variables.php';
  4.     include 'lib/functions.php';
  5.     require('fpdf.php');
  6.  
  7.     $e_dtl_id    =    $_REQUEST['e_dtl_id'];
  8. class PDF extends FPDF
  9. {
  10. //Load data
  11. function SetWidths($w)
  12. {
  13.     //Set the array of column widths
  14.     $this->widths=$w;
  15. }
  16.  
  17. function SetAligns($a)
  18. {
  19.     //Set the array of column alignments
  20.     $this->aligns=$a;
  21. }
  22.  
  23. function Row($data)
  24. {
  25.     //Calculate the height of the row
  26.     $nb=0;
  27.     for($i=0;$i<count($data);$i++)
  28.         $nb=max($nb,$this->NbLines($this->widths[$i],$data[$i]));
  29.     $h=5*$nb;
  30.     //Issue a page break first if needed
  31.     $this->CheckPageBreak($h);
  32.     //Draw the cells of the row
  33.     for($i=0;$i<count($data);$i++)
  34.     {
  35.         $w=$this->widths[$i];
  36.         $a=isset($this->aligns[$i]) ? $this->aligns[$i] : 'L';
  37.         //Save the current position
  38.         $x=$this->GetX();
  39.         $y=$this->GetY();
  40.         //Draw the border
  41.         $this->Rect($x,$y,$w,$h);
  42.         //Print the text
  43.         $this->MultiCell($w,5,$data[$i],0,$a);
  44.         //Put the position to the right of the cell
  45.         $this->SetXY($x+$w,$y);
  46.     }
  47.     //Go to the next line
  48.     $this->Ln($h);
  49. }
  50.  
  51. function CheckPageBreak($h)
  52. {
  53.     //If the height h would cause an overflow, add a new page immediately
  54.     if($this->GetY()+$h>$this->PageBreakTrigger)
  55.         $this->AddPage($this->CurOrientation);
  56. }
  57.  
  58. function NbLines($w,$txt)
  59. {
  60.     //Computes the number of lines a MultiCell of width w will take
  61.     $cw=&$this->CurrentFont['cw'];
  62.     if($w==0)
  63.         $w=$this->w-$this->rMargin-$this->x;
  64.     $wmax=($w-2*$this->cMargin)*1000/$this->FontSize;
  65.     $s=str_replace("\r",'',$txt);
  66.     $nb=strlen($s);
  67.     if($nb>0 and $s[$nb-1]=="\n")
  68.         $nb--;
  69.     $sep=-1;
  70.     $i=0;
  71.     $j=0;
  72.     $l=0;
  73.     $nl=1;
  74.     while($i<$nb)
  75.     {
  76.         $c=$s[$i];
  77.         if($c=="\n")
  78.         {
  79.             $i++;
  80.             $sep=-1;
  81.             $j=$i;
  82.             $l=0;
  83.             $nl++;
  84.             continue;
  85.         }
  86.         if($c==' ')
  87.             $sep=$i;
  88.         $l+=$cw[$c];
  89.         if($l>$wmax)
  90.         {
  91.             if($sep==-1)
  92.             {
  93.                 if($i==$j)
  94.                     $i++;
  95.             }
  96.             else
  97.                 $i=$sep+1;
  98.             $sep=-1;
  99.             $j=$i;
  100.             $l=0;
  101.             $nl++;
  102.         }
  103.         else
  104.             $i++;
  105.     }
  106.     return $nl;
  107. }
  108. }
  109.  
  110.  
  111.         $pdf=new PDF();
  112.         $pdf->AliasNbPages();
  113.         $pdf->AddPage('P','A4');
  114.  
  115.         $pdf->SetFont('Times','',12);
  116.         $query        =    "select enq.*,exp.*,detail.* from " .$Enquiry_details." as detail inner join (".$Enquirer_registration." as enq,".$Expert_registration." as exp)  on  enq.e_id = detail.e_id and exp.x_id= detail.x_id where e_dtl_id = '$e_dtl_id'";
  117.  
  118.             //echo $query;
  119.             $dbr        =    mysql_query($query);
  120.             $count        =    mysql_num_rows($dbr);
  121.  
  122.                             $myFile = "casepaper.txt";
  123.                             $fh = fopen($myFile, 'w') or die("can't open file");
  124.  
  125.                                 while($row=mysql_fetch_array($dbr))
  126.                                 {
  127.  
  128.                                  $stringData =" ".$row['e_dtl_id'];
  129.                                 // $stringData .=  "\n";
  130.                                  $stringData .=  "Summary";
  131.                                  $stringData .=
  132.                                  $stringData .= "Age/Gender".$row['e_age']."/".$row['e_gender'];
  133.                                  $stringData .=  "History".$row['e_clinic_case'];
  134.                                  $stringData .=  "Problems".$row['e_desc'];
  135.                                  $stringData .=  "Tratement Received".$row['e_title'];
  136.                                  $pdf->SetFont('Arial','B',17);
  137.                                 // $pdf->Cell(120,10,"Global Diagnosis Consultation Report-.".$uniqueId.$row['e_dtl_id']."",0,1,'C');    
  138.                                 $pdf->SetTopMargin(40);
  139.                                 $pdf->SetLeftMargin(30);
  140.                                 $pdf->SetRightMargin(30);
  141.                                 $pdf->Cell(110,3,"Global Diagnosis Consultation Report-",0,0,'C');    
  142.                                 $pdf->SetFont('Arial','B',10);
  143.                                 $pdf->Cell(1,3,$uniqueId.$row['e_dtl_id'],0,1,'');    
  144.                                 $pdf->SetFont('Arial','B',10);
  145.                                 $pdf->Cell(50,4,"",0,1,'C');    
  146.                                 $pdf->Cell(50,10,''. "Summary:",0,0,'L');
  147.                                 $pdf->Cell(50,5,"",0,1,'C');    
  148.                                 $pdf->Cell(25,20,"Enquiry ID:",0,0,'');    
  149.                                 //$pdf->Cell(50,20,"",0,1,'C');    
  150.                                 $pdf->Cell(20,20,''.$uniqueId.$row['e_dtl_id'].'',0,0,'');
  151.                                 $pdf->Cell(50,20,''. "Age/Gender:".$row['e_age'].""."/".$row['e_gender']."",0,0,'R');
  152.                                 $pdf->Cell(40,20,''. "Date:".$row['e_date']."",0,0,'R');
  153.                                 $pdf->Cell(50,10,"",0,1,'C');    
  154.                                 $pdf->Cell(32,20,"Experts:"."Dr.".$row['x_firstname'].",",0,0,'R');
  155.                                 $pdf->Cell(76,20,$row['x_organisation_name'],0,0,'R');
  156.  
  157.                                 $selectcity        =    "select * from ".$cities ." where city_id =".$row['x_city'];
  158.                                 //echo $selectcity;    
  159.                                 $resultcity        =    mysql_query($selectcity);
  160.                                 while($rowcity =mysql_fetch_array($resultcity))
  161.                                 $pdf->Cell(18,20,",".$rowcity['city_name'].",",0,0,'R');
  162.  
  163.                                 $invite_exp_query        =    "select inv_exp.*,exp.*,detail.* from " .$invited_experts." as inv_exp inner join (".$Enquiry_details." as detail,".$Expert_registration." as exp)  on  detail.e_dtl_id = inv_exp.e_dtl_id and inv_exp.x_fwd_id = exp.x_id  where detail.e_dtl_id = '$e_dtl_id'";
  164.                                 //echo $invite_exp_query;
  165.                                 $invite_exp_result        =    mysql_query($invite_exp_query);
  166.                                 while($row_invite =mysql_fetch_array($invite_exp_result))
  167.                                     {
  168.                                     $pdf->Cell(17,20,"Dr.".$row_invite['x_firstname'].",",0,1,'R');
  169.                                     $pdf->Cell(78,2,$row_invite['x_organisation_name'],0,0,'R');
  170.  
  171.                                         $selectinvcity        =    "select * from ".$cities ." where city_id =".$row_invite['x_city'];
  172.                                         //echo $selectcity;    
  173.                                         $resultinvcity        =    mysql_query($selectinvcity);
  174.                                         while($rowinvcity =mysql_fetch_array($resultinvcity))
  175.                                         $pdf->Cell(12,2,",".$rowinvcity['city_name'],0,0,'R');
  176.  
  177.                                     }
  178.                                 $pdf->SetFont('Arial','B',12);
  179.                                 $pdf->Cell(50,5,"",0,1,'C');    
  180.                                 $pdf->Cell(18,10,"History:",0,1,'R');
  181.                                 $pdf->SetFont('Arial','',10);
  182.                                 $pdf->MultiCell(150,4,$row['e_clinic_case'],'0','L','');
  183.  
  184.                                 $pdf->SetFont('Arial','B',12);
  185.  
  186.                                 $pdf->Cell(30,5,"",0,1,'C');    
  187.                                 $pdf->Cell(22,10,"Problems:",0,1,'R');
  188.                                 $pdf->SetFont('Arial','',10);
  189.                                 $pdf->MultiCell(150,4,$row['e_desc'],'0','L','');
  190.  
  191.                                 $pdf->SetFont('Arial','B',12);
  192.  
  193.                                 $pdf->Cell(30,5,"",0,1,'C');    
  194.                                 $pdf->Cell(43,10,"Tratement Received:",0,1,'R');
  195.                                 $pdf->SetFont('Arial','',10);
  196.                                 $pdf->MultiCell(150,4,$row['e_title'],'0','L','');
  197.  
  198.                                 $pdf->SetFont('Arial','B',12);
  199.  
  200.                                 $pdf->Cell(10,5,"",0,1,'C');    
  201.                                 $pdf->Cell(52,10,"Reason for Consultation:",0,1,'R');
  202.                                 $pdf->SetFont('Arial','',10);
  203.                                 $pdf->MultiCell(150,4,$row['e_consultation'],'0','L','');
  204.  
  205.                                 $pdf->SetFont('Arial','B',10);
  206.  
  207.                                 $pdf->Cell(10,5,"",0,1,'C');    
  208.  
  209.                                 $selectupload    =    "select * from  ".$upload." where e_dtl_id= '$e_dtl_id'";
  210.                                 //echo $selectupload;
  211.                                 $resultupload    =    mysql_query($selectupload);
  212.                                 $countupload    =    mysql_num_rows($resultupload);
  213.                                 $pdf->SetDrawColor(222)    ;            
  214.                                 $pdf->SetWidths(array(30, 50, 30, 40));
  215.                                 $pdf->Row(array('Documen_Name','Date', 'Quality'));
  216.                                 $pdf->SetFont('Arial','',10);
  217.                                 while($uploadrow    =mysql_fetch_array($resultupload))
  218.                                 {
  219.                                     $upload_name    =$uploadrow['upload_file_name'];
  220.                                     $upload_date    =$uploadrow['createdate'];
  221.                                     $upload_qual    ='Good';
  222.  
  223.                                     srand(microtime()*1000000);
  224.                                 $pdf->Row(array($upload_name,$upload_date, $upload_qual));
  225.                                     }
  226.                                 $pdf->SetFont('Arial','B',10);
  227.                                 $pdf->Cell(42,20,"Summary of Collboration:",0,1,'L');
  228.                                 $pdf->SetDrawColor(0);            
  229. $name='';
  230.                             $comments_text='';
  231.                             $selectresponse        =    "select * from " .$response." where e_dtl_id ='$e_dtl_id' order by comments_id asc ";
  232.                             // echo $selectresponse;
  233.                             $resultresponse        =    mysql_query($selectresponse);
  234.                             if(mysql_num_rows($resultresponse)>0)
  235.                             {
  236.                             $caseresponse            =    array();
  237.  
  238.                             //Selctin al records from the comments table for maxpage for pagination
  239.                             //End of selction max record
  240.                             $selectmaxresponse        =    "select * from  " .$response." where e_dtl_id ='$e_dtl_id'";
  241.                             //echo $selectmaxresponse;
  242.                             $expertmaxresponse        =    mysql_query($selectmaxresponse);
  243.  
  244.                             while($casevalenq    =    mysql_fetch_array($resultresponse,MYSQL_ASSOC))
  245.                             {
  246.                                 $x_id=$casevalenq['x_id'];
  247.                                 $e_id1=$casevalenq['e_id'];
  248.                                 $comments_id=$casevalenq['comments_id'];    
  249.                                 $date        =    $casevalenq['createdate'];
  250.                                 $time        =    $casevalenq['createtime'];
  251.                                 //echo $x_id."-----------".$e_id;
  252.  
  253.                                 $pdf->SetFont('Arial','B',10);
  254.                                 if($x_id!=0)
  255.                                 {
  256.                                 //fetch expert name
  257.                                     $expert_detail        =    "select * from " .$Expert_registration." where  x_id ='$x_id'";
  258.                                     $result_expert        =    mysql_query($expert_detail);                                                    
  259.                                     $caseresponse    =    mysql_fetch_array($result_expert,MYSQL_ASSOC);
  260.                                     $name=$caseresponse['x_firstname'];
  261.                                 //fetch expert advice
  262.                                     $expertresponse_query        =    "select * from " .$response." where e_dtl_id ='$e_dtl_id' and x_id=$x_id  and comments_id=$comments_id";
  263.                                     //echo $expertresponse_query;
  264.                                     $expertresponse        =    mysql_query($expertresponse_query);
  265.                                     $row    =    mysql_fetch_array($expertresponse,MYSQL_ASSOC);
  266.                                     $comments_text=strip_tags($row['x_response_text']);
  267.                                     $newtext = wordwrap($comments_text, 50, "\n", true);
  268.                                     $pdf->SetFont('Arial','B',10);
  269.                                 }
  270.                                 if($e_id1!=0)
  271.                                 {
  272.                                 //fetch enquirer name
  273.                                     $enquirer_detail        =    "select * from ".$Enquirer_registration." where  e_id ='$e_id1'";
  274.                                     $result_enq        =    mysql_query($enquirer_detail);
  275.                                     $response_enq    =    mysql_fetch_array($result_enq,MYSQL_ASSOC);
  276.                                     $name=$response_enq['e_firstname'];
  277.  
  278.                                     //Fetch enquirer comments
  279.                                     $enquirer_response_query        =    "select * from " .$response." where e_dtl_id ='$e_dtl_id' and e_id=$e_id1  and comments_id=$comments_id";
  280.                                     //echo $enquirer_response_query;
  281.                                     $enquirer_response        =    mysql_query($enquirer_response_query);
  282.                                     $row1    =    mysql_fetch_array($enquirer_response,MYSQL_ASSOC);
  283.                                     $comments_text=strip_tags($row1['e_response_text']);
  284.                                     $newtext = wordwrap($comments_text, 40, "\n", true);
  285.  
  286.                                 }
  287.  
  288.                                     $pdf->Cell(30,2,$name,'0',0,'0');
  289.                                     $pdf->Cell(15,2,$date,0,0,'R');
  290.  
  291.                                     $pdf->SetFont('Arial','',10);
  292.                                     $pdf->Cell(10,5,"",0,1,'C');    
  293.                                     $pdf->Cell(40,10, $comments_text,'0',0,'L');
  294.                                     $pdf->Cell(10,5,"",0,1,'C');    
  295.  
  296.                                     $pdf->SetFont('Arial','B',12);
  297.                                     $pdf->Cell(42,5,"",0,1,'c');
  298.                                     $pdf->SetFont('Arial','',10);
  299.  
  300.                                                                 //$pdf->Rect(30,150,120, 40 ,'D');
  301.  
  302.                                     //$pdf->MultiCell(150,5,'Dopcument Name','T','L','');
  303.                                 //$pdf->MultiCell(50,1,'Date','T','R','');
  304.                                 //$pdf->MultiCell(30,4,'123','B','L','');
  305.                                 //$pdf->MultiCell(30,4,'11','B','L','');
  306.                                 //$pdf->MultiCell(30,4,'456','B','L','');
  307.                             }
  308.  
  309.  
  310.                         }    
  311.                                                             $pdf->SetFont('Arial','B',12);
  312.                                     $pdf->Cell(42,20,"Expert Recommendation and Suggetions:",0,1,'c');
  313.                                     $pdf->SetFont('Arial','',10);
  314.  
  315.                         $pdf->MultiCell(150,5,'Mrs JVM who is 42 years old has had severe recurrent Sciatica for over 2
  316. years. Her symptoms have been aggravated recently and she has los of sleep
  317. and mild functional loss. Her Von Willebrand disease status is under control
  318. and hematologists has confirmed no risk of bleeding tendency. Her current
  319. MRI shows significant disc herniation and mild osteorarthritis of facet joints.','0','L','');
  320.                         $pdf->Cell(10,5,"",0,1,'C');    
  321.                         $pdf->MultiCell(150,5,'Based on above she is a candidate suitable for repeat discectomy. It is
  322. preferable to do an open discectomy. The Sciatica is likely to respond to
  323. repeat surgery but back ache related to facet joint arthritis may persist and will
  324. need pain management. Surgery may also help prevent further loss of
  325. sensation and muscle power','0','L','');
  326.  
  327.  
  328.                                     $pdf->SetFont('Arial','B',12);
  329.                                     $pdf->Cell(42,20,"References and Evidence base analysis:",0,1,'c');
  330.                                 //$pdf->Write(5,'Visit ');
  331.                                 //Then put a blue underlined link
  332.                                 $pdf->SetTextColor(0,0,255);
  333.                                 $pdf->SetFont('','U');
  334.  
  335.                             $query        =    "select * from " .$enquirer_ref_links ." where     e_dtl_id = '$e_dtl_id' ";
  336.                             //echo $query    ;
  337.                             $result        =    mysql_query($query);
  338.                              while($row =    mysql_fetch_array($result,MYSQL_ASSOC))
  339.                             {
  340.                               $links=$row['links'];
  341.                               $count=count(explode(',',$links));
  342.                               $link=explode(',',$links);
  343.                               if($count>0)
  344.                               {
  345.                                   for($i=0;$i<$count;$i++)
  346.                                   {
  347.                                     $link_string=$link[$i];
  348.                                     $pdf->Write(5,$link_string,$link_string);
  349.  
  350.                               }
  351.                                  }
  352.                                else
  353.                               {
  354.                                 $link_string=links;
  355.                                     $pdf->Write(5,$link_string,$link_string);
  356.                                }
  357.                             }
  358.                                 $pdf->SetTextColor(0);
  359.                                     $pdf->SetFont('Arial','B',12);
  360.                                 $pdf->Cell(10,5,"",0,1,'C');    
  361.                                 $pdf->Cell(81,13,"SOME IMPORTANT CONSIDERATIONS:",0,1,'R');
  362.                                     $pdf->SetFont('Arial','',10);
  363.                             $pdf->MultiCell(150,5,'Spinal surgery for sciatica and spinal stenosis is better for the leg pain than it is for
  364. back pain. Both the leg pain and back pain may improve.','0','L','');
  365.                         $pdf->Cell(10,5,"",0,1,'C');    
  366.                         $pdf->MultiCell(150,5,'Symptoms of numbness or weakness may well persist after surgery','0','L','');
  367.                         $pdf->Cell(10,5,"",0,1,'C');    
  368.                         $pdf->MultiCell(150,5,'In patients attending general practice for the first time with sciatica 75% are better
  369. within 28 days. The sciatica pain may continue to improve without the need for
  370. surgery. The pain often gets better anyway and pain relief in the early stage may be
  371. achieved with tablets or injections.','0','L','');
  372.                         $pdf->Cell(10,5,"",0,1,'C');    
  373.                         $pdf->MultiCell(150,5,'Surgery seems to get people better quicker but has some risks associated with it..','0','L','');
  374.                         $pdf->Cell(10,5,"",0,1,'C');    
  375.                         $pdf->MultiCell(150,5,'Certain types of disc prolapse are more likely to recur than others. Surgery for disc
  376. prolapse has a recurrence rate of between 7% and 15% within ten years. This is the
  377. same whether or not you have an operation..','0','L','');
  378.  
  379.                                     $pdf->SetFont('Arial','B',12);
  380.                                 $pdf->Cell(10,5,"",0,1,'C');    
  381.                                 $pdf->Cell(60,13,"SPECIFIC USUAL BENEFITS:",0,1,'R');
  382.                                     $pdf->SetFont('Arial','',10);
  383.                             $pdf->MultiCell(150,5,'70-75% of patients experience a significant improvement in leg pain. 20-25% may
  384. be better but still have persistent leg pain 5% may have no benefit at all 1% may be
  385. worse in terms of pain.','0','L','');
  386.                         $pdf->Cell(10,5,"",0,1,'C');    
  387.  
  388.                                 $pdf->SetFont('Arial','B',12);
  389.                                 $pdf->Cell(10,5,"",0,1,'C');    
  390.                                 $pdf->Cell(45,13,"Global Dx Disclaimer:",0,1,'R');
  391.                                     $pdf->SetFont('Arial','B',10);
  392.                             $pdf->MultiCell(150,5,'By using this Second Opinion service, you agree to abide by the Terms
  393. and Conditions posted at our Web Site, including particularly the Terms
  394. and Conditions described below:','0','L','');
  395.                                 $pdf->Cell(10,5,"",0,1,'C');    
  396.                                 $pdf->Cell(34,13,"Diagnostic Service",0,1,'R');
  397.                                 $pdf->MultiCell(150,5,'The service provided through our Web site is different from the
  398. diagnostic services typically provided by a physician. The experts
  399. providing this service will not have the benefit of information that would
  400. be obtained by examining you in person and observing your physical
  401. condition. Therefore, the physician may not be aware of facts or
  402. information that would affect his or her opinion of your diagnosis. TO
  403. REDUCE THE RISK TO YOU OF THIS LIMITATION, Global Diagnosis
  404. STRONGLY ENCOURAGES YOU TO SHARE THE RECCOMENDATIONS
  405. WITH YOUR PHYSICIAN WHO WILL HAVE FINAL OPINION ON
  406. TREATING YOU. BY DECIDING TO ENGAGE THIS SERVICE, YOU
  407. ACKNOWLEDGE AND AGREE THAT YOU ARE AWARE OF THIS
  408. LIMITATION AND AGREE TO ASSUME THE RISK OF THIS LIMITATION.','0','L','');
  409.                                 $pdf->Cell(10,5,"",0,1,'C');    
  410.                             $pdf->MultiCell(150,5,'BY REQUESTING A ADVICE/ INFORMATION/ OPINION PURSUANT TO
  411.                             THIS WEB SITE, YOU ACKNOWLEDGE AND AGREE THAT:','0','L','');
  412.  
  413.                             $pdf->Cell(10,5,"",0,1,'C');    
  414.                             $pdf->MultiCell(150,5,'* THE RECCOMENDATION THAT YOU WILL RECEIVE IS LIMITED AND
  415. PROVISIONAL; * THE OPINION IS NOT INTENDED TO REPLACE A FULL
  416. MEDICAL EVALUATION OR A FACE-TO-FACE VISIT WITH A
  417. PHYSICIAN; * THE PHYSICIAN DOES NOT HAVE IMPORTANT
  418. INFORMATION THAT IS USUALLY OBTAINED THROUGH A PHYSICAL
  419. EXAMINATION; * THE ABSENCE OF A PHYSICAL EXAMINATION MAY
  420. AFFECT THE PHYSICIAN'.'S ABILITY TO DIAGNOSIS YOUR CONDITION,
  421. DISEASE OR INJURY;','0','L','');
  422.  
  423.                             $pdf->Cell(10,5,"",0,1,'C');    
  424.                             $pdf->MultiCell(150,5,'BY ENGAGING OUR SERVICES, YOU ACKNOWLEDGE AND AGREE TO
  425. ASSUME THE RISK OF THESE LIMITATIONS. YOU FURTHER
  426. UNDERSTAND THAT NO WARRANTY OR GUARANTEE HAS BEEN
  427. MADE TO ME CONCERNING ANY PARTICULAR RESULT OR CURE OF
  428. MY CONDITION.','0','L','');
  429.                     }    
  430.  
  431.  
  432.                                                 header('Content-type: application/pdf');
  433.  
  434.                             // Es wird downloaded.pdf benannt
  435.                             header('Content-Disposition: attachment; filename="downloaded.pdf"');
  436.                             // Die originale PDF Datei heißt original.pdf
  437.                             readfile('downloaded.pdf');
  438.                                                                                                             $pdf->Output();
  439.  
  440.                             //unlink( $pdf );
  441.  
  442.  
  443. ?>
  444.  

Acrobat reader giving error as it was sent as email attachment and was not correctly decoded
Jan 10 '11 #1
0 806

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

Similar topics

2
by: daniel d | last post by:
hi all, Im using VB 6.0 Pro, my DB is SQL server 2000 Eval edn. I am using stored procedures to get data from my DB. I am trying to open up a new recordset as a dynamic however it refuses to...
4
by: Corepaul | last post by:
I am working in Windows 2000 and Access 2000 and am a rookie in Access. Coding merrily along, I stop periodically to test that everything works. After adding a small amount of code to several...
5
by: John Warner | last post by:
I have a wierd problem that I can't find any reference to in the knowledge base. I develop simple databases at the company where I work, and many of them are used by hundreds of employees. We all...
4
by: Mike Turco | last post by:
A2003. I haven't seen this before. You use File/New to create a new database in Access and call it DB1. Close Access, click on db1, Access opens and there's nothing there. Then I try opening the...
6
by: Doug Dew | last post by:
This won't compile: using IEnumerable<T> = System.Collections.Generic.IEnumerable<T>; namespace MyNamespace { public class MyClass<T> : IEnumerable<T> { // Appropriate stuff here }
1
by: Regardt | last post by:
Microsoft windows .Net 2003 I have a mayor problem! My property window won't open. I tried using the dynamic help to open the property window, but with out success. (The dynamic help window...
1
by: Regardt | last post by:
Microsoft windows .Net 2003 I have a mayor problem! My property window won't open. I tried using to dynamic help to open the property window, but with out success. (The dynamic help window won't...
0
by: Booklady | last post by:
This problem has just suddenly happened. Music samples won't play on Amazon, files won't open on other sites without downloading. I just want to watch some things and there are several on the same...
0
by: jrshack | last post by:
I'm using PHP to collect html form inputs and populates form fields in a PDF document. After it populates the PDF with the inputs from the front-end html form It prompts you to "open or save the...
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: 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
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.