Click here to Skip to main content
15,917,455 members
Home / Discussions / Database
   

Database

 
GeneralRe: Autoincrement per field Pin
Wendelius28-Jan-09 1:24
mentorWendelius28-Jan-09 1:24 
GeneralRe: Autoincrement per field Pin
Mustafa Ismail Mustafa28-Jan-09 1:28
Mustafa Ismail Mustafa28-Jan-09 1:28 
GeneralRe: Autoincrement per field Pin
Wendelius28-Jan-09 1:43
mentorWendelius28-Jan-09 1:43 
Questionhow the oracle packages are implemeted in the sql server Pin
lakshmichawala27-Jan-09 17:33
lakshmichawala27-Jan-09 17:33 
AnswerRe: how the oracle packages are implemeted in the sql server Pin
Wendelius27-Jan-09 19:44
mentorWendelius27-Jan-09 19:44 
GeneralRe: how the oracle packages are implemeted in the sql server Pin
lakshmichawala27-Jan-09 20:21
lakshmichawala27-Jan-09 20:21 
GeneralRe: how the oracle packages are implemeted in the sql server Pin
Wendelius27-Jan-09 20:33
mentorWendelius27-Jan-09 20:33 
QuestionSimultaneous access to MS Access Pin
Member 382292227-Jan-09 12:20
Member 382292227-Jan-09 12:20 
I've been asked to write a program for a small company. They will have just a few users (1 to 4) accessing a database. The database will probably grow to just 20,000 records at the most. If multiple users are accessing simultaneously and one of them adds or updates a record, they want the screens of the other users to be refreshed and reflect the newly added data.

My thought is to write the application in MSVC++ and connect to an MS Access DB using ODBC. My dilemma is in deciding the best way to handle the updating of all the users screens when one user has added a record.

1) I could have the application spawn a thread, which would kickoff a timer. Say every 20 seconds, the timer would run a query against the DB and see if any records have been added. If so, it's time to refresh the data here on this machine.

2) I could also maybe write a service that would run on the server with the database. The application on each users machine would interact with this service, not the database. The service would accept all the requests from the users (clients), interact with the DB and respond to the clients. If a record is added or updated, the service would send a msg or invoke a callback on the client and tell it to update.

3) I'm not sure about this, but I think there also might be some broadcast function/message that I can use.

Does anyone have any suggestions or warnings or previous experience with this?

Thanks very much!
Brian
AnswerRe: Simultaneous access to MS Access Pin
Wendelius27-Jan-09 12:46
mentorWendelius27-Jan-09 12:46 
GeneralRe: Simultaneous access to MS Access Pin
Member 38229225-Feb-09 13:48
Member 38229225-Feb-09 13:48 
AnswerRe: Simultaneous access to MS Access Pin
PIEBALDconsult27-Jan-09 15:13
mvePIEBALDconsult27-Jan-09 15:13 
GeneralRe: Simultaneous access to MS Access Pin
Member 38229225-Feb-09 13:50
Member 38229225-Feb-09 13:50 
GeneralRe: Simultaneous access to MS Access Pin
PIEBALDconsult5-Feb-09 14:11
mvePIEBALDconsult5-Feb-09 14:11 
GeneralRe: Simultaneous access to MS Access Pin
Member 38229225-Feb-09 14:32
Member 38229225-Feb-09 14:32 
QuestionGetting values from two tables. Pin
kurangu27-Jan-09 6:40
kurangu27-Jan-09 6:40 
AnswerRe: Getting values from two tables. Pin
Wendelius27-Jan-09 6:58
mentorWendelius27-Jan-09 6:58 
GeneralRe: Getting values from two tables. Pin
kurangu27-Jan-09 7:33
kurangu27-Jan-09 7:33 
GeneralRe: Getting values from two tables. Pin
Wendelius27-Jan-09 7:59
mentorWendelius27-Jan-09 7:59 
QuestionMultiple Values In single Parameter in oracle Pin
vikram_asv27-Jan-09 5:42
vikram_asv27-Jan-09 5:42 
AnswerRe: Multiple Values In single Parameter in oracle Pin
Wendelius27-Jan-09 6:07
mentorWendelius27-Jan-09 6:07 
QuestionSQL Server 2005 and SQL Server 2008 on the same server Pin
pzn3xq27-Jan-09 4:10
pzn3xq27-Jan-09 4:10 
AnswerRe: SQL Server 2005 and SQL Server 2008 on the same server Pin
Wendelius27-Jan-09 4:46
mentorWendelius27-Jan-09 4:46 
QuestionSlow query when using @variable in Where clause [modified] Pin
Meysam Mahfouzi27-Jan-09 4:06
Meysam Mahfouzi27-Jan-09 4:06 
AnswerRe: Slow query when using @variable in Where clause Pin
Rob Philpott27-Jan-09 4:25
Rob Philpott27-Jan-09 4:25 
GeneralRe: Slow query when using @variable in Where clause Pin
Meysam Mahfouzi27-Jan-09 8:18
Meysam Mahfouzi27-Jan-09 8:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.