Mike Segal

Greenhorn
+ Follow
since Jan 04, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Segal

P.S. Actually one thing can happen. Let's say a user has started the program in Client mode and specified database path as a remote server host name. After that, a user restarted application but in Alone mode (why not?). The program will try to open a local physical database file using remote path from previous session and will crash.

It seems to me now that "accept indication" phrase points to this scenario. We need to check consistency of modes between sessions using local/remote parameter.

Mike
Hi guys,

Mark, thanks for your comments, I feel much better now. I also agree that it's better not to implement re-connection on the fly and not only because of the complexity but because the assignmend (at least mine) does not require that feature and states clear enough that the program's mode is defined by a command line parameter. If a user can override the mode from the GUI than what's the point to use command line parameter at all.

Mike
Hi Mark,

Thanks for the answer. Still the matter is not clear to me. Let's say we are in the "alone" mode. Database file can be located on the local host or on any other host in the network. In this case, do I need to provide an option (a check box, for example) so that a user could define local/remote location of the database? From my point of view this is unnecessary, but what is the meaning that they put in the assignment? :roll:
Hi everybody!

I could not find a clear answer on my question, which is:

Quotation: "the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used"

What does "accept an indication" mean? Is that enough just to use a textfield label like "Enter local database path" for the alone and server program modes? Or a check box must be provided? If the second is right what would be the logic for that?

Thanks.