These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

For Loop freezes Designer 7.0

iamlost
Registered: Jul 17 2008
Posts: 4

I have a simple for loop:

var jnpick = 2;
for (var index = 0; index < 5; index++)
{
	jnpick = jnpick * 2;
}

Now I have this under the click event of a button. Everytime I hit the button, the program freezes. I left it alone for over 5 minutes and still nothing. So any ideas what I'm doing wrong and most importantly, how to fix it?

Ultimately what I am trying to accomplish is having a user type in a record number into a textfield and have the record (queried from SQL Server 2005) pull up in the form.

My Product Information:
LiveCycle Designer, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Change your variable name from "index" to something else.

George