hi all,
i have question about names of origin of a flight and the destination of a flight , they are not the real world names , is that what we are going to use
in our search
string when searching in the criteriaFind( String st )
The following is the description of one of the record that i have
in my database
Name = Flight number value = BA002
Name = Origin airport value = BA0
Name = Destination airport value = BA0
Name = Carrier value = BA002SFOLHRBeethAir
Name = Price value = BA002S
Name = Day value = BA0
Name = Time value = BA002
Name = Duration value = BA002SF
Name = Available seats value = BA00
As you see value of origin airport and destination airport is same.Please through some light on it.
thanks
kanwal
Following is the code that came up with the values shown above
Data data = new Data("./suncertify/db/db.db");
for(int i=0; i<=data.getRecordCount(); i++)<br /> {<br /> if (i>=1)
{
DataInfo dataInfo=data.getRecord(i);
FieldInfo [] fInfo = dataInfo.getFields();
System.out.println("The String version of Data item is :"+ dataInfo.toString());
}
}
please reply
thanks
kanwal