copy and paste misleading

Post Reply
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

copy and paste misleading

Post 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
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Ehab,

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

James
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

You also have to check for a possible uppercase issue.
Post Reply