Page 1 of 1

copy and paste misleading

Posted: Mon Feb 26, 2007 9:59 pm
by Ehab Samir Aziz
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.

Code: Select all


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

Posted: Mon Feb 26, 2007 10:35 pm
by James Bott
Ehab,

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

James

Posted: Mon Feb 26, 2007 10:43 pm
by Gale FORd
You also have to check for a possible uppercase issue.