FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour copy and paste misleading
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
copy and paste misleading
Posted: Mon Feb 26, 2007 09:59 PM
I noticed that copy from field and paste into msgget function does not lead to the supposed results . According to variable entered in the msgget function ,the browse should lead to certain results which I do not get it by copy/paste I should type with my keyboard the variable in msgget .
What should be added to my code to have valid copy/paste.

if MsgGet( "Serial Machine", "Enter Serial Machine", @V_me_mc_serl,;
              "..\lupa.bmp" )
      select 3
      use mach
      set index to mach5
      if ! DbSeek( (V_me_mc_serl ))
         MsgAlert( "I don't find that serial" )
      endif
   endif
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
copy and paste misleading
Posted: Mon Feb 26, 2007 10:35 PM

Ehab,

Remember you have to pad the var to the same length as the field.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
copy and paste misleading
Posted: Mon Feb 26, 2007 10:43 PM

You also have to check for a possible uppercase issue.

Continue the discussion