Jean-Marc,
Thank you for your suggestions and your code. I've incorporated your code.
Your comment about using "the value of" in order to ensure that the quantity was an integer led me to the real issue: It turn out the Quantity field was holding a character string that couldn't be interpreted as ...
Search found 2 matches
- Tue Feb 23, 2016 8:04 pm
- Forum: Talking LiveCode
- Topic: Can't figure out repeat with error code
- Replies: 8
- Views: 5096
- Tue Feb 23, 2016 7:05 pm
- Forum: Talking LiveCode
- Topic: Can't figure out repeat with error code
- Replies: 8
- Views: 5096
Can't figure out repeat with error code
I'm having trouble with my script not executing. It returns an error message:
error in 'with' start condition expression
for this code:
repeat with n = 1 to howMany
In this script:
on createDates
global oneDate
-- clear fields
put "" into field "The Dates"
put field "Quantity" into ...
error in 'with' start condition expression
for this code:
repeat with n = 1 to howMany
In this script:
on createDates
global oneDate
-- clear fields
put "" into field "The Dates"
put field "Quantity" into ...