Hello guys,
I just want to ask how can I loop the data from my query? I just want it to display it to the message box instead of displaying into the datagrid.
I attached the file.
Any help will be very much appreciated.
Regards
-snop21
how can I loop the data from my query.. Help.!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
how can I loop the data from my query.. Help.!
- Attachments
-
- QueryMoBilePick.livecode.zip
- (1.15 KiB) Downloaded 323 times
Re: how can I loop the data from my query.. Help.!
Hi, snop21. Just change;
to
and the results will show in the message box
Code: Select all
set the dgText of group "Datagrid 1" to tdisplayCode: Select all
put tdisplay into msgLiveCode Development & Training : http://splash21.com
Re: how can I loop the data from my query.. Help.!
And that also works nicely on a Mac and Linux 
Re: how can I loop the data from my query.. Help.!
Hi splash21 and Klaus,
Pardon me...
) It's not a message box actually that I want to display it.
)
I want to display it with the dialogbox "it's answer here in livecode"
from my query I want to loop to get the record from it and diplsay it to the dialogbox one by one.
repeat ----
answer " " -----> data from my query
end repeat
Don't know how to do it exactly..
Need your help guys..
Regards
-snop21
Pardon me...
I want to display it with the dialogbox "it's answer here in livecode"
from my query I want to loop to get the record from it and diplsay it to the dialogbox one by one.
repeat ----
answer " " -----> data from my query
end repeat
Don't know how to do it exactly..
Need your help guys..
Regards
-snop21
Re: how can I loop the data from my query.. Help.!
You've already got it!snop21 wrote:repeat ----
answer " " -----> data from my query
end repeat
Code: Select all
repeat for each line tRow in tDisplay
answer tRow
end repeatLiveCode Development & Training : http://splash21.com
