Re: TZF - 2 questions:

"B. Evers" <[email protected]> Tue, 24 Feb 2004 12:31:50 +0100
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Hi,

----- Original Message ----- 
From: "Topaz" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 24, 2004 12:47 AM
Subject: TZF - 2 questions:


> Hey,
>
> 2 questions I hope you could help me out with:
> 1) The Topaz Help file says: "The library allows programmers to open up
> to 32 dBASE files, with indexes, filters, and relations."
>  - Does that mean 32 dBase files per application or 32 active instances
> of the Topaz dataset (which could in fact be pointing to one db
> possibly)?

They mean you can have 32 dbase files in 1 application. I believe Topaz is
not thread safe, so creating multiple instances of a datamodule could cause
problems, but I am not sure about that.

>
> 2) What is the common convention for dealing with deletion of records,
> when other users can be viewing those records at the same time.  I will
> expand:
>
> User A is on a screen with 10 records, at the same time as userB.  They
> both see 10 records.  UserA deletes one record.  Now does UserB's screen
> update automatically to show this change?  That doesn't seem right.
> Should I employ a refresh on this screen to always show the existing
> number of records?

Nope, user B will not get an updated screen. You have to do that in code (as
you have to do with every database application). You could send a windows
message from the app that deletes the record that dataset x needs an update.
You could also send a message stating recordid x has been deleted, and show
it in your grid using a color or something like that.

>
> Thanks,
> Yoav

Benno

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------