FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Only 8 charcters transferred
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM

Only 8 charcters transferred

Posted: Sun Feb 18, 2007 09:00 PM
Only 8 charcters transferred from v_mc_meres_combo to oGet_meres

Local oGet_meres:=space(25)
..
LOCAL oCbx_meres
..
local v_mc_meres_combo:=space(25)
..

  @ 60,200 SAY "Operator" OF oDlg PIXEL
  @ 60,250 SAY ":" OF oDlg PIXEL
  @ 60,260 GET oGet_meres VAR V_MC_meres OF oDlg PIXEL
  @ 60,380 COMBOBOX oCbx_meres VAR v_mc_meres_combo ITEMS aBase1(3,"mach",256,"mc_meres");
  SIZE 110,80 ;
  OF oDlg PIXEL ;
ON CHANGE ( oGet_meres:VarPut( PADR( v_mc_meres_combo, 8 ) ),; 
oGet_meres:Refresh(),oDlg:Refresh())



[/img]
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM

Only 8 charcters transferred

Posted: Mon Feb 19, 2007 12:35 AM
Friend

Replace this code:
ON CHANGE ( oGet_meres:VarPut( PADR( v_mc_meres_combo, 8 ) ),;


With this
ON CHANGE ( oGet_meres:VarPut( v_mc_meres_combo ),;
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM

Only 8 charcters transferred

Posted: Mon Feb 19, 2007 09:24 PM

Thanks :D

Continue the discussion