Score recorded in DB
Hi,
I have a problem to get the scores in database. I use
Internet Explorer for playing the animation that contains some
questions. The last slide of the animation is the score slide. So I
can see the score and other data.
In table TRACKING, I find the record corresponding to the
chapter that use Captivate. I have the value Failed or Passed but I
have 0 as score. I don't know what I can do to fill this column.
I tried many options in the Captivate Publish action, but
none of them were good.
Thanks in advance for your help.
Lucie
1- check which process is eating your cpu with prsstat get process id
2- check what is running on DB match their process id with sids v$session v$process
3- check what does sessions are running as sql
4- check what sql plan are they running
if you don't give these information whatever you get as response will be guesswork
Coskan Gundogar
Blog: http://coskan.wordpress.com
Twitter: http://www.twitter.com/coskan
Linkedin: http://uk.linkedin.com/in/coskan
---------
Similar Messages
-
How do I get the score for my own composition on Garage Band?
I have composed a classical piece using a mic with my acoustic piano. I made a wonderful track as the music poured out of my fingers. But I can't get garage band to write the track in notation. Click scissors and I get the audio region. No score to click. I am baffled. Anyone out there know what to do?
Sorry, but you cannot write a score from a real audio track - only from Software instrument tracks. To be able to print a score record to a software instrument track (using a midi keyboard or "Musical Typing" (Window -> Musical Typing)).
To extract the notation from your real instrument recording automatically you need tools like Melodyne - all of those are still expensive.
Regards
Léonie -
IPhone High Score Data File/Sort Oddities
Hello all.
I am working on an iPhone game which is nearly complete but I am having trouble with the following high score sort/write code. I am aiming to keep up to 10 scores, sorted from highest to lowest obviously.
The code creates a new data file with the current score added as first entry if there is no existing data file (and this works), or it creates a data file with the current score as first entry if a data file exists but is empty for some reason (and this works as well), or it adds the current score to a data file of existing scores if it is within the top ten or there are less than ten entries (this is where it gets odd).
If there is one existing score in the data file, the current score is added and sorted properly. If there are two scores in the data file, the application crashes BUT the data file shows the current score was correctly added and sorted to the existing scores. If there are three existing scores, the application crashes and the data file remains unchanged.
I have been over the logic many times and tried many different variations of the logic structure to no avail. I suspect it is something simple but I've been staring at it too long to see. Any ideas?
If there is a better way to display the code/formatting on the forum, please let me know. It doesn't look pretty this way and there must be a way to make it more readable here. I tried to manually format it some to help. The code follows (score variable is brought in from another class but works properly in my tests). At the end I have repeated an isolated snippet of the code where I think the problem occurs.
*CODE START:*
int i, ii;
struct highscoreentry {
NSString *name;
int highScore;
struct highscoreentry structArray(10);
FILE *fin = fopen("highscore.dat", "rb");
if (fin != NULL) { //if the data file exists proceed here
for (i = 0; i < 10; i++) {
if (fscanf(fin, "%s %d\n", structArray(i).name, &structArray(i).highScore) != EOF) { //if data exists for this iteration proceed
ii = i; //ii will be the last entry of existing data
for (i = ii; i > -1; i--) { //will begin at last entry and work up the list of scores to sort
if (score > structArray(i).highScore) { //if current score is higher than recoded score, recorded score moves down 1 place
structArray(i + 1) = structArray(i);
structArray(i).name = (NSString *)"JESSE";
structArray(i).highScore = score;
if (i == ii && ii < 9) //if there are less than 10 entries we will add another for our new entry
ii = ii + 1;
else if (score < structArray(i).highScore && i == ii) { //if current score is less than last recorded score it becomes new last entry
structArray(i + 1).name = (NSString *)"JESSE";
structArray(i + 1).highScore = score;
if (ii < 9)
ii = ii + 1;
fclose(fin);
if (fin == NULL) { //if the data file does not exist prepare data for new file
ii = 0; //will be used to limit write iterations to this single new entry
structArray(0).name = (NSString *)"JESSE";
structArray(0).highScore = score;
FILE *fout;
fout = fopen("highscore.dat", "wb"); //should create/rewrite data file from scratch
for (i = 0; i <= ii; i++) {
fprintf(fout, "%s %d\n", structArray(i).name, structArray(i).highScore);
fclose(fout);
*CODE END*
As far as I can tell by commenting out different portions of the code, the problem appears to be somewhere in here:
*CODE START:*
if (fin != NULL) { //if the data file exists proceed here
for (i = 0; i < 10; i++) {
if (fscanf(fin, "%s %d\n", structArray(i).name, &structArray(i).highScore) != EOF) { //if data exists for this iteration proceed
*CODE END*
...but it baffles me that this works with one structure in the data file, crashes with two structures in the data file but correctly processes/sorts them and writes the file properly, and crashes with three structures in the data file without doing any additional work.
Jesse Widener
www.artandstructure.comActually I've found online material to be adequately, and sometimes more than adequately, elucidating in learning the language. When I decided to take a stab at this I spent about 40 hours of my spare time the first week reading 2 or 3 different "takes" on the C/C++/Objective C language in addition to Apple's docs on their implementation along with the iPhone SDK. As I mentioned, I've thus far found the language quite clear and concise. I began my application the second week and this is the first time in 7 weeks of coding where I've felt the need to ask assistance. Every other problem I've solved, leaving no errors, warnings or leaks in my software and accomplishing every task I've set to this point.
I find reading several different "takes" on a subject helps fill out an understanding from different perspectives. In this case, one perspective might lead the reader to believe or misunderstand the full use/context of a particular syntax, while reading from multiple sources can show the same syntax used in different contexts, broadening the understanding of its use, and that understanding can be user further to interpolate uses in a variety of situations.
I am new to C/C++/Objective C and the iPhone SDK, but I am not new to programming. It may have been some time (other than hand-coding my website the last few years) and my language experience may be limited to BASIC, HTML, PHP and Javascript, but from my view learning a new language is relatively easy once you know one...even if it is BASIC. The general logic structure remains the same. The overall software design concept remans essentially the same. Both are going to use variables, arrays, subroutines, memory allocation/management, input and output of data, runtime logic, etc. I am 80-90% sure I know exactly how I want to attack a coding problem every time...I just need to know how to "say it in C".
I don't remember when I first started coding, but I know by age 7 I wrote a karaoke style "Happy Birthday" for my great aunt with music playing through a Commodore 16 via "beeps" figuring the particular vibrations per second of the speaker (the hertz values) and durations for each note in time and pitch perfectly along with "lyrics" printed to screen with the music. To me, learning C is like learning a new foreign language. I took 2 years of French in high school and had to study at it but aced it nonetheless. I then opted to take Spanish but after a semester I opted to stop because the pacing was too slow. Learning Spanish after learning French was a piece of cake. They are in the same general language family and the syntax construction is very similar. I only needed the raw data of the words to fit to the rules I already knew. I didn't need to learn the same rules a second time.
The C/Objective C language seems no more complicated than it need be, which is to say it seems simple in doing what it needs to do and I am impressed with that simplicity thus far. I am also impressed with Apple's implementation with regard to the iPhone. Being able to provide music via 4-5 lines of code using AVAudioPlayer is transcendental compared to "beeping" every note monophonically.
Apple's explanations are very clear and concise. It is just, sometimes their examples are sparse or too narrow in scope to get a rounded context. However, their docs are very good and there is a wealth of information here on the net. My biggest complaint with Apple's docs really stems from the fact they seem to want to shove Interface Builder at everything and provide the code to do so but leave the reader stranded if the reader would rather stay within XCode exclusively and do more programmatically rather than leave that much "behind the curtain" work to Interface Builder...but it is a minor complaint.
On pointers...I do understand the use of pointers, perhaps not to the nth degree as I am just starting out, but the concept makes sense to me. I understand they are not "content" but a memory address location of the "content". I also understand why pointing to a location which is undefined or unprotected is damaging to whatever may be in that location already and to the data being pointed since it can be inadvertently overwritten my some other memory using item.
{quote}No. The (i < 9) condition is critical. Writing to structArray[10] will crash, since structArray[9] is the end of the array. In practice such a crash might not happen right away, though. If our program's data allocation actually ended at the end of the array, the crash would be immediate. But what usually happens when we write past the end of an array is that the beginning of some other data is overwritten.{quote}
I need to slap my forehead on this one. I know better than that. I don't know why I missed that. Too many late nights I suppose.
{quote}(NSString*) is called a type cast in that context.{quote}
Yes, which is why I used it to deal with the incompatible type error I thought I had at that point, but I shouldn't have assumed by appeasing the compiler I was necessarily solving the problem.
{quote} The best I can do for now is to caution that an enquiring mind, like all virtues, can be taken too far. I think it's important to compromise and copy good models sometimes. This isn't just to avoid reinventing the wheel. Sometimes it's good to remember we only have a limited time on Earth.{quote}
Agreed...and I don't expect to understand every nuance the first time around. I expect to at least understand how each successful line of code works in its context, but I imagine some processes will take a few times through before it "clicks" how it works in a greater context than its own, and I am all right with that. I also understand deadlines are deadlines whether they be software development or otherwise and a broad eye needs to be kept to remaining on the track forward.
Anyway, off to my day job.
Thank you again...I began reading up on NSDictionary and NSUserDefaults last night. Will post soon.
Jesse Widener
www.artandstructure.com -
Hi can anyone help please -
I'm currently making a game for an assignment, which is
pretty much finished however I have to include a score recording
system which will record name, score and number of hits for the top
10 players. The scores should be held in an external text file . I
was wondering if anyone could explain a simple way to do this, i
know i should use getpref and setpref to create and load the text
file, and also use some sort of list. If i use a property list i
can have a property 'name' and its value 'score' but how would i
add a third element, the hits. Alternatively if i use a linear
list, one for each of name, hits and score, how would i link them
and sort them so that the correct name hits and score display
together. Also i should probably mention that the game currently
has name, hits and score held in global variables.
If anyone could point me in the right direction that would be
great, I'd really like to understand how to get this working first
instead of just the usual trial and error.
thanks
MarkThe general tool for reading and writing text files is the
fileIO xtra,
implementing it involves some learning curve.
The easy way to store user settings like high scores is the
setPref,
getPref functions which store text in a predefined location
and works
with shockwave, unlike fileIO xtra.
The larger effort might be involved in getting the scores
from the
stored text version back to whatever variables scheme you
store them in.
value(somestring) converts a text representation of a number
back to an
integer or float.
you can even store list variables as text
x = [["bob", 123], ["Jim", 567], ["Sally", 778]]
savePref "scoreFile", string(x)
-- retrieved with
x = value(getPref("scoreFile")) -
Score generation session and behaviours
Hi,
I'm trying to use the score generation session.
Is there a way to attach a behaviour to a sprite and have it
saved?
I tried setting it with scriptInstanceList, but it's not
saved.
The setScriptList command doesn't work.
Can anybody help me?
I'm sorry for the duplicated message.
Thank you
PaoloThe "setScriptList" command does not work inside a score
recording session. Try adding your scripts after updating the
frame. -
Why some columns are not read into Power Pivot when reading data from a SQL query
I have this SQL query that I want to use to read data to PowerPivot from:
SELECT Score.FieldCount as fieldcount, Score.Record.GetAt(0) as predicted_gender, Score.Record.GetAt(1) as probability_of_gender, Score.Record.GetAt(2)
as probability_of_m,
Score.Record.GetAt(3) as probability_of_f, Score.Record.GetAt(4) as customerkey
FROM
SELECT * FROM dbo.myCLR1(
dbo.MyCLR2('c:\fILES\MLSM.xml'),
'SELECT * FROM [dbo].[Customer]') Input
) Score
After I click 'Finish' in "Table Import Wizard", I can only get 1 column (FieldCount) in Power Pivot window. Why don't I get the other 4 columns? If I save the result to a table I do get all columns but my goal is to dynamically present the result
so that's not an option. Can anyone shed some light?
Thanks,
Chu
-- Predict everything. http://www.predixionsoftware.comIf I only pass in query as
SELECT * FROM dbo.myCLR1(
dbo.MyCLR2('c:\fILES\MLSM.xml'),
'SELECT * FROM [dbo].[Customer]') Input
I do get 2 columns (FieldCount and Record as shown below)
-- Predict everything. http://www.predixionsoftware.com -
How to Save XML file in the same directory as the swf file automatically?
Hi all,
I'm really new here with flash and actionscript 3, so i might not make any sense, probably. Any input is greatly appreciated.
So here's my problem, i'm trying to make a Top Score history for a flash game, which i load from an XML file. The problem comes to when i want to update the XML file. how do i do that automatically without prompting the user (ofcourse). I want it to be saved automatically to the same directory as the flash file.
here's my code right now, but it prompts the user where it wants to be saved, which i don't want to happen:
var xml:XML = <XML>
<topScoreList>
</topScoreList>
</XML>;
for(var i:Number=0; i<10; i++)
var Record:XML = <Record>
<score></score>
<playerName></playerName>
</Record>;
Record.score.appendChild(topScores[i].toString()); //topScores[] -> class variable containing scores
Record.playerName.appendChild(topNames[i].toString()); //topNames[] -> class variable containing names
xml.topScoreList.appendChild(Record);
var ba:ByteArray = new ByteArray();
ba.writeUTFBytes(xml);
var fr:FileReference = new FileReference();
fr.save(ba, "topScoreList.xml");yeah that makes sense, actually - after reading a dozen more forums. It's really weird tho that flash doesn't have a Buffer writer, unlike other programming frameworks.
But yeah, thanks. i'll start reading on flash.net.SharedObject, correct ? Thanks.
Anyways, if anyone out there has a different input, will be greatly appreciated!! -
Multiple Quizzes with multiple results (in Captivate 6)
Hey guys, Thanks for reading!
Does anyone know if it is possible to do multiple tests with multiple results in captivate 6? or if it is possible to have a pre-test with a quiz, and have separate results for each?
I've been having a play with captivate 6 and when I put a quiz in, it overrides the results slide for my pre-test.
Looking at the results slide master properties I can choose to have results for one of my quizzes but not both (even on separate slides):
It wont even let me insert another slide based on the other result.
I would like to know if multiple quizzes with multiple results is possible in Captivate 6?, or if I am simply doing something wrong?
Thanks!Sorry for way-late reply...
It's really more how your LMS handles 'courses' and the terminology it uses.
Essentially, most often, a 'SCORM Package' (SCO) is a 'course'. I'd rather call each SCO a 'lesson' as, to me, 'courses' should be setup in the LMS with a series of 'Lessons'.
Regardless of the terminology, each 'SCO' is launched by the LMS and one score can be recorded for it via SCORM.
So if you need multiple final scores recorded, each of those final scores need to be in their own SCO.
A common approach is a Pre-Test SCO (or 'lesson', or 'course', whatever term), a 'Content' SCO perhaps with some interspersed scored interactions, and a Post-Test SCO...all three merged together as a 'course' (or whatever term) within the LMS.
That said, as said, it really all depends on how your LMS handles various SCOs...
Clear as mud?
E -
Database structure for a 5 star ratings system
This is something I've been asked to look at creating. At the moment the site has a database back end storing details of a few hundred holiday properties. So that part is already set up.
So I'm familiar enough with databases etc, but less so the formulas and any additional database structure for any voting.
It would be pretty simple, ie visitors could vote 1, 2, 3 4, or 5 stars for any property.
There needs to be a total score recorded somewhere for each property.
And the site needs to display the average score for that property.
Any pointers on this much would be much appreciated.
Thanks.Consider my wrist duly slapped.
Yes, Google is an excellent resource, although in my experience for many things such as this a search will return 101 different ways of doing something, many of which will do, or explain, 80% of what you need.
So sometimes posting on a forum is better for getting a recommendation from someone for a good tutorial on something. -
The SQL statement is not valid - when importing data from SQL Server using a query
Hi there,
I am trying to import data from SQL to Power Pivot using a SQL query like below:
SELECT Score.FieldCount, Score.Record.GetAt(0), Score.Record.GetAt(1), Score.Record.GetAt(2), Score.Record.GetAt(3), Score.Record.GetAt(4)
FROM
SELECT * FROM dbo.CLR1(
dbo.CLR2('c:\FILES\Test.xml'),
'SELECT * FROM [dbo].[CXCustomer_Small]') Input
) Score
And when I tried to validate it, it returns
The SQL statement is not valid. A column name cannot be blank.
I ran the above SQL statement in Management Studio and it works without problem. Any idea?
Thanks!
Chu
-- Predict everything. http://www.predixionsoftware.comNever mind, I figured out - I need to give each column a name.
-- Predict everything. http://www.predixionsoftware.com -
Retrieve text from sprite at specific marker
Is there a way to retrieve text from a spriteMember at a
specific marker when you are not located at that marker?
I have an presentation that uses small graphics at the bottom
to jump to it's corresponding marker based on the markerList. I
would like to retrieve the text in sprite(6) from the corresponding
marker location and display it in a text sprite on the stage at the
current location. Without jumping to that location.
I'm trying to avoid making a list or naming the members with
the corresponding marker.
Thanks.
Wally>>Is there a way to retrieve text from a spriteMember
at a specific marker
>>when you are not located at that marker?
Short answer... no.
Can you get the text of the member?
If that won't work you can use the updateLock property of
score recording.
You can do something like this: set updateLock to true, go
the frame you
want, get the text of the member of the sprite, then return
to the frame you
were at and turn updateLock back to false.
on test
_movie.updateLock = true
go "spriteFrame"
put sprite(6).member.text
go "normalFrame:
_movie.updateLock = false
end
If you place that as a handler in a movie script, you can
enter test from
the message window and see what happens - you will see the
text of the
sprite displayed, but the play head won't move...
HTH
Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/ -
basically ive got a method that calculates an average to one decimal place...i return this value to the main...when i try to call the function Im getting an error that says the variable cant be found
any ideas why?yeh i changed that.....
ahem
I will post the whole thing...but the parts im having problems with will be in bold
// Purpose: Processing Student Questionnaire Results
//Importing the Scanner
import java.util.Scanner;
public class studentQuestionnaireResults
// Declaring the global variables
public static int [] scoreArray;
public static int numOfScores;
// ************************* MAIN PROGRAM **************************
public static void main()
outputTo1dp(dec);
// ************************ METHODS ********************************
// Method to input array integers
public static void numInArray()
int num;
//Bringing the scanner in
Scanner in = new Scanner(System.in);
//Asking user for number of scores to be entered
System.out.println("Please enter the number of scores recorded");
numOfScores = in.nextInt();
scoreArray = new int [numOfScores];
System.out.println("Please enter each score between 1 and 5, then press [ENTER]");
for (int i = 0; i < numOfScores; i++)
num = in.nextInt();
//Ensuring the user enters a number between 1 and 5
while ((num <1) || (num > 5))
System.out.println("Please Enter a number between 1 and 5");
num = in.nextInt();
scoreArray = num;
public static double computeAverage(int [] scoreArray)
int total = 0;
int average = 0;
//Adding the numbers together
for(int i = 0; i < scoreArray.length; i++)
total = total + scoreArray [i];
// Dividing the total into an average
average = (total/scoreArray.length);
//Returning the average
return average;
public static double outputTo1dp(double average)
//Multiply by 10
int result = (int)(average*10);
//Round and take the integer part
double dec = (Math.round(result)/10.0);
//Return Result
return dec;
public static int roundMultiple(int dec)
int roundedToNearest5 = (5 * 5)/(23 + 2);
System.out.println("Nearest Multiple to 5 is: " + roundedToNearest5);
return roundedToNearest5; -
Sharing an array between methods
I have three classes as follows
import javax.swing.*;
public class result
String names, date, scores, records;
public result(String na, String da, String sc)
names=na;
date=da;
scores=sc;
public String getName()
return names;
public String getDate()
return date;
public String getScore()
return scores;
import javax.swing.*;
public class resultList
final int DEFAULT_SIZE = 20;
int count;
result[] data;
public resultList()
data = new result[DEFAULT_SIZE];
count = 0;
public resultList(int size)
data = new result[size];
count = 0;
public void insert( result myResults )
data[count] = myResults;
count++;
public result[] getResult()
return data;
import javax.swing.*;
import java.util.*;
import java.io.*;
public class Sport
public static void main (String[] args)
boolean alive = true;
try
while (alive)
String menu = JOptionPane.showInputDialog( //This the menu the user see's
"Select 1 to input results\n"+
"Select 2 to linearsearch\n"+
"Select 3 to Check contents of array\n"+
"Select 0 to Quit");
int menu2=Integer.parseInt(menu);
if (menu2==1) //i use if statements to match the methods with the menu
inputteams();
if (menu2==2)
linearsearch();
if (menu2==3)
printArray();
if (menu2==0)
alive = false;
catch (IOException e)
System.err.println("Caught IOException: "+ e.getMessage());
public static void inputteams()throws IOException
resultList myList = new resultList();
int count = 0;
int stillContinue = JOptionPane.YES_OPTION;
while (stillContinue == JOptionPane.YES_OPTION)
String na = JOptionPane.showInputDialog("Please, enter team name");
String da = JOptionPane.showInputDialog("Enter date:");
String sc = JOptionPane.showInputDialog("Please enter score");
if (na!=null && da!=null && sc!=null)
result data = new result(na, da, sc);
myList.insert(data);
else
JOptionPane.showMessageDialog(null,"Please enter all required data");
stillContinue = JOptionPane.showConfirmDialog(null, "Enter another record?",
"???", JOptionPane.YES_NO_OPTION);
count++;
public static void printArray()
resultList myList = new resultList();
result[] data = myList.getResult();
for( int i=0; i<data.length; i++)
result myResults = data;
if( myResults != null )
System.out.println("Database contents" + myResults.toString());
else
System.out.println("232"); //Handling empty elements in the array
} //to avoid return of nullPointer
}When i run the program and the menu pops up, i enter one and start inputting data. Once i have completed this the menu pops up again. This time i choose 3 to print the contents of my array. However, all this does is print 232 numerous times which shows that the array i am creating in my printArray() is not being passed the contents of my array. I have used a similar procedure to what i am doing in a different rpogram and it seems to work. I cant see why this time the contents of my filled up array isnt being passed to this method. Any advice on where i am going wrong?public static void main (String[] args)
boolean alive = true;
resultList rl = new resultList();
Sport sport = new Sport();
try
while (alive)
String menu = JOptionPane.showInputDialog( //This the menu the user see's
"Select 1 to input results\n"+
"Select 2 to linearsearch\n"+
"Select 3 to Check contents of array\n"+
"Select 0 to Quit");
int menu2=Integer.parseInt(menu);
if (menu2==1) //i use if statements to match the methods with the menu
sport.inputteams(rl);
if (menu2==2)
sport.linearsearch(rl);
if (menu2==3)
sport.printArray(rl);
if (menu2==0)
alive = false;
catch (IOException e)
System.err.println("Caught IOException: "+ e.getMessage());
public void inputteams(resultList l)throws IOException
//resultList myList = new resultList();
int count = 0;
int stillContinue = JOptionPane.YES_OPTION;
while (stillContinue == JOptionPane.YES_OPTION)
String na = JOptionPane.showInputDialog("Please, enter team name");
String da = JOptionPane.showInputDialog("Enter date:");
String sc = JOptionPane.showInputDialog("Please enter score");
if (na!=null && da!=null && sc!=null)
result data = new result(na, da, sc);
l.insert(data);
else
JOptionPane.showMessageDialog(null,"Please enter all required data");
stillContinue = JOptionPane.showConfirmDialog(null, "Enter another record?",
"???", JOptionPane.YES_NO_OPTION);
count++;
public void printArray(resultList l)
//resultList myList = new resultList();
result[] data = l.getResult();
for( int i=0; i<data.length; i++)
result myResults = data;
if( myResults != null )
System.out.println("Database contents" + myResults.toString());
else
System.out.println("232"); //Handling empty elements in the array
} //to avoid return of nullPointer
private void linearsearch(resultList l) {
// throw new UnsupportedOperationException("Not yet implemented");
}Edited by: d3n0 on Apr 14, 2008 8:10 PM -
Hi ,
Checked in the forum for this issue. => Not a wise plan to hoodwink the Moderators.
Could not find any.Guide me.
SAY i have a table CRICKET with 2 fields
1) PLAYER
2) SCORE
Records are say::
PLAYER SCORE
SACHIN 50
RAHUL 40
SEHWAG 100
In Selection Screen, i have a field PLAYER.
a)If user enters value SACHIN in field PLAYER..
output shd be:
SACHIN
50
b)If user enters value SACHIN,RAHUL,SEHWAG in Selection screen,
output shd be
SACHIN RAHUL SEHWAG
50 40 100
Mean to say dynamically creating the fields based on inputs entered by user.
In ALV field catalog there is option NO_OUT ='X' to hide the fields.
But not able to get how to compare with values entered by user.
Edited by: kishan P on Oct 5, 2010 2:38 PMHi manju
suppose you have a table(itab) in which you have all the data related to player and the score.
before displaying the data to ALV apply the condition like:
fetch score from DBTABLE into table itab where player in s_player.
where s_player is your select option.
and then pass your ITAB to ALV.
i hope it will work.
Thanks
Lalit Gupta -
SharedObject data loss after reopening my ios app
Hi, I'm developing an app for ios devices and when I tested it on my iPhone the high-score data is lost everytime I restart (close and reopen) the application.
var shared: SharedObject = SharedObject.getLocal("myRecordObject");
if (shared.data.score) {
record = shared.data.score;
scoreBar.recordField.text = record.toString();
function gameOver() {
if (score > record) {
record = score;
shared.data.record = record;
shared.flush();
scoreBar.recordField.text = record.toString();
scoreBar.adjust();try:
var shared: SharedObject = SharedObject.getLocal("myRecordObject",'/');
Maybe you are looking for
-
How do you delete a website from "popular" in Safari?
How do you delete a website link from "popular" in Safari?
-
BT infinity throttled and continual dropping of sp...
Hi Im having lots of problems with my connection im on the BT Infinity totally unlimited package when I first got this i was regularly getting speeds of 70 plus. about 3 months ago this started to fluctuate particularly in the evenings and at weekend
-
Hello, I am not able to open up PDF docs, which is new, it was fine before. When I try to open a doc I get a "Sign in required" message. When I click on this, it says that "either your computer is offline or the clock on your computer is set incorrec
-
I am a novice. I have a few thousand iPhotos stored on Dropbox. But now I have a Canon T5i camera and want to get more involved in photography. I want to open a Lightroom and Photoshop account. I have a Windows desktop and an iPad. Will I have any co
-
Can we deploy taskflows separetly from the client application?
Hello, We have projects that contains taskflows that we want to integrate into a client application. Is it possible to deploy the taskflows outside the ear of the client application? basically what we want is to be able to deploy new versions of task