Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set column...

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm still working on the criteraFind(), and i'm going to use ArrayList to store database
one of issuse is compare the carrier column with the condition,
It's not easy to find the column in the program, Should we just fix the program to search column 2 in this case.
I know it is not a good idea, but if have any suggetion...
please help...
Thanks in advance.

lili
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi li li,
You should not be implementing your criteriaFind() method on the client using previously retrieved data. It should be implemented on the server where the data is fresh.
Michael Morris
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael,
Thanks your message, It took me awhile to think about the meaning.
When I read the Data class. I found the second field is the Origin field,
and third field is the destination field. In find() the program use value[0]
as record number( key value) to search the database which is
the �Flight umber� field in description.
So I wonder should I use this idea in my program to search those fields.
Also I wondering the database schema we have will same as
the marker�s test file in SUN. As if their use another schema in the test
file, then my program may have trouble. Am I right? Have any suggestion�

Thanks in advance..
Li Li
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic