That helps.  Unfortunately, LC scripts tend to terminate without throwing an error when they run into a problem in your code, like a syntax error.
First question:  is "txtfield" the name of the field, or is the name of the field in a container called 
txtfield?
If and only if the name of the field is "txtfield", then let's put it in quotes in your code, too and try again, like this:
Code: Select all
qrCreate "fldImage",field "txtField","M","3"
#<debug>
	put the result into goop  #will either be "Error:" and an error message, or information about the qr code created
	set the clipboardData to goop
	answer goop
#</debug>
 the name of the field is inside the container called 
txtfield, let's start by putting an answer dialog both above and below the block of code.  I am also going to add a couple of lines to the code so that we put a default value in the clipboard.  After you run your code, no matter what happens, paste the clipboard and let's see what it shows.
Code: Select all
#<debug>
	answer "About to create the image"
	set the clipboardData to "About to create the image from:"&CR&field txtField
#</debug>
qrCreate "fldImage",field txtField,"M","3"
#<debug>
	put the result into goop
	set the clipboardData to goop
	answer goop
#</debug>