Well after working on this for the past 2 days, I am about to give up. At this point, I have deleted the DataGrid from the card and also removed the associated card within the Data Grid Templates stack.
I have added a new DataGrid to the card of the stack and named it the same name as before so all of my code will work when populating the DataGrid. I have the DataGrid style as Table. During this time, I added all of my code to the Group DataGrid which is
Code: Select all
global gLatestNewsArray, gSelectedNewsHeadline, gSelectedNewsArticleText, gSelectedNewsDate
local theSelectedLine
on mouseUp pBtn
if pBtn is 1 then
put the dgHilitedLines of me into theSelectedLine
put gLatestNewsArray[theSelectedLine]["Headline"] into gSelectedNewsHeadline
put gLatestNewsArray[theSelectedLine]["ArticleText"] into gSelectedNewsArticleText
put gLatestNewsArray[theSelectedLine]["NewsDate"] into gSelectedNewsDate
go to card "News Article Card" on stack "PopupWindows"
show stack "PopupWindows"
end if
end mouseUp
On the script of the stack "PopupWindow" I have all of the global variables I use in the application defined along with
Code: Select all
on openStack
set the loc of me to gScreenCenterLoc
end openStack
on clodeStack
close stack "PopupWindows"
end closeStack
Then on the News Article Card Script I have the global variables from the application that is defined plus
Code: Select all
on openCard
put gSelectedNewsHeadline into fld "News Headline Field" on me
put gSelectedNewsArticleText into fld "Article Contents Field" on me
put gSelectedNewsDate into fld "Article Date Field" on me
end openCard
When I run this in development, I get the record of the gLatestNewsArray on the News Article Card in the proper locations but when I run the Standlone Splash screen that loads up this stack, I get nothing in the data field areas. When I put answer commands in various locations in the development version I get the right information. Standalone version I get blank answer boxes.
My process is when I make changes, I zip up the Application and upload it to the website. Both the Development version and the Standalone version download the version from the website.
I just do not get why the application runs in Development and not in Standalone