Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IS there a FAQ anywhere

18 views
Skip to first unread message

David Marcus

unread,
Dec 31, 2002, 11:56:49 AM12/31/02
to
John Treder wrote:
> If I have everything active and a single EXE and don't have a server
> running, and try to run within the IDE, all hell breaks loose.

If the components are active, then they are running in the IDE. When the
IDE runs your app, this creates another set of all your components. You
now have two servers running at the same time. This doesn't work (FF
only allows one server to access a database).

If you close Delphi, then run your app, you will have only one server
running.

If you leave Delphi running, but set the components to inactive, then
you can run your app from within Delphi. Just set your components to
active in your code (that way it doesn't matter whether they are set to
active at design time).

By the way, this issue is discussed in the white paper I posted in the
Foundry.

> "IIWDFI!" = "If It Works, Don't Fix It!"

Assuming you understand why it works.

--
David Marcus

Geoff

unread,
Dec 31, 2002, 3:34:17 AM12/31/02
to
"John Treder" <jt...@pacbell.net> wrote in message
news:3E110CCA...@pacbell.net...

> Maybe there's a better path through the Straits of Messina between Scylla
> and Charybdis, but I took advice from this group (was it Geoff?) and
decided
> to use a remote server and all that for working within Delphi, and switch
to
> the design target single EXE only when I want to make sure that it all
> works. Since I did that, I've had no problems, and therefore I'm highly
> reluctant to change.

<bg> - that is indeed the way I do it - and when it looks like its not
working, then its *always* something stupid that I've done... happens a
lot... especially after squash...

Germain

unread,
Dec 31, 2002, 1:41:01 PM12/31/02
to
Hi Keith,
>
> Not all heavy hitters. <g>
> I think what would be handy would be a Do's & Don't of DbAware, when used
> correctly DbAware can be your friend..

I would like to see a set of Do's and Don'ts for DbAware controls. How many
of the TP staff and TPX'ers like DbAware controls? DbAware controls on a C/S
database doesn't *appear* to be recommended on this NG.

Germain


David Marcus

unread,
Dec 31, 2002, 12:00:10 PM12/31/02
to
David Marcus wrote:
> Do you mean having data appear at design time or running an app within
> the IDE? You need the server running for the former, but you can use a
> TffServerEngine for the latter.

What I wrote isn't correct. You can have data appear at design time
using the TffServerEngine. (I just tried it and it does work, as it
should.)

--
David Marcus

Keith Johnson

unread,
Dec 31, 2002, 1:15:16 PM12/31/02
to
"Geoff" <ge...@jonyree.com.au> wrote in
news:OS0OL#HrCHA...@tpsmail01.turbopower.net:

> What!!! No way, mate - besides, I cant do that - think of how worried
> Keith would get - and what with the 4th test underway and all...
> struth, it would be torture for the poor lad!! <g>

Yes, leave the poor DbAware controls alone, they never hurt anyone who knew
what they were doing..<g>

Keith...

Germain

unread,
Dec 30, 2002, 8:35:04 AM12/30/02
to

"Eivind wrote"

>
> The "Cannot locate..." error probably means that there is something
missing
> in the hookup of the components. Study the uploaded samples (I hope they
> work ;-)).

All I can say to this is that the uploaded sample worked on my computer. But
remember, results may vary in your area.<bg>


David Marcus

unread,
Dec 30, 2002, 12:58:46 PM12/30/02
to
John Treder wrote:
> I have things set up for a remote server engine because it seems that to run
> a project from within Delphi you have to use the remote server engine, even
> if everything is on the same computer. At least it works much better that
> way for me.

Do you mean having data appear at design time or running an app within
the IDE? You need the server running for the former, but you can use a
TffServerEngine for the latter.

--
David Marcus

John Treder

unread,
Dec 30, 2002, 10:19:38 PM12/30/02
to

<Laughing!> Yes! Of course! "May I have some more, sir?"

If I have everything active and a single EXE and don't have a server
running, and try to run within the IDE, all hell breaks loose.

And then when I shut down Delphi, the world comes to an end.

Maybe there's a better path through the Straits of Messina between Scylla
and Charybdis, but I took advice from this group (was it Geoff?) and decided
to use a remote server and all that for working within Delphi, and switch to
the design target single EXE only when I want to make sure that it all
works. Since I did that, I've had no problems, and therefore I'm highly
reluctant to change.

"IIWDFI!" = "If It Works, Don't Fix It!"

John


Richard Atwater

unread,
Dec 30, 2002, 8:55:20 AM12/30/02
to
Ron -

Sorry to hear that you are having such trouble, I'm sure it is
something simple.

What is your environment? (OS, Dev. Tools, basic machine config?)

Have you tried the examples from John or Germain? I will be glad to
send you something, but don't want to bury you.

We originally tried FF ?3? years ago, simply to avoid the BDE
installation hassles, and have since become hooked on the
customize-ability and power.

Keep trying, we'll get it going soon!

Richard Atwater

On Sat, 28 Dec 2002 14:40:31 +0100, "Ron Tuijnman" <r...@BSI.NL> wrote:

>...Well, I can't say my first experience with FF2 is a heatwarming welcome..
>After digging through the manual AND following allt he intructions in the
>Quick Start Guide, I'm still not able to create a working table.
>...

David Marcus

unread,
Dec 30, 2002, 12:59:01 PM12/30/02
to
John Treder wrote:
> I have things set up for a remote server engine because it seems that to run
> a project from within Delphi you have to use the remote server engine, even
> if everything is on the same computer. At least it works much better that
> way for me.

Do you mean having data appear at design time or running an app within
the IDE? You need the server running for the former, but you can use a
TffServerEngine for the latter.

--
David Marcus

Eivind Bakkestuen [TPX]

unread,
Dec 30, 2002, 7:35:07 AM12/30/02
to
In addition to what the others said,

The "Cannot locate..." error probably means that there is something missing
in the hookup of the components. Study the uploaded samples (I hope they
work ;-)).

--

Eivind Bakkestuen [TPX]

Please, no private email unless requested.
This newsgroup is searchable at http://www.tamaracka.com
Visit TurboPower's new Foundry at http://community.turbopower.com


"Ron Tuijnman" <r...@BSI.NL> wrote in message
news:9JyPeH1r...@tpsmail01.turbopower.net...
> Setting the tableproperty Databasename to ANYthing, just results in
'Cannot
> Locate or Connect to Networkserver $2C0E/11278'


Geoff

unread,
Dec 28, 2002, 3:59:35 PM12/28/02
to
"George Spears" <not given> wrote in message
news:HihGlNqr...@tpsmail01.turbopower.net...
> Could I also suggest that you throw in a little usage of Blobs?

Hi George!

Acknowledged (as a Good Idea!) and will be done!

Regards,
Geoff.


Paul Motyer [TPX]

unread,
Dec 28, 2002, 6:23:21 PM12/28/02
to
"Geoff" wrote

> > Could I also suggest that you throw in a little usage of Blobs?
>
> Hi George!
>
> Acknowledged (as a Good Idea!) and will be done!

Hi Geoff,

aftr the last summer Olympics - in Sydney - I wrote an example App
that I posted here

Olympics.dpr

It contained the stats and flags of every Olympic registered country I
could find:

3 letter country code, country name, population, medal counts,
flag

Natuarally the flags were stored in BLOBs. This code is still
available - well, on my computer, anyhow.

I'm happy to re-post it.

It has examples of loading and fetching BLOBs, creating a table,
adding indices etc. It even has a rudimentary report function (to text
file)

--
,-._|\ Paul Motyer [TPX]
/ Oz \ SoftStuff P/L
\_,--._/ [paul.motyer at tpx.turbopower dot com]
v [ http://members.optushome.com.au/paulmotyer ]


John Treder

unread,
Dec 29, 2002, 1:23:40 PM12/29/02
to
Ron Tuijnman wrote:

> ...Well, I can't say my first experience with FF2 is a heatwarming welcome..

> Is there anybody who has a reusable WORKING example of a SingleExe
> datamodule for me?
>
>
> A very desperate Ron...
>
Watch your e-mail (I hope your return address works) for a zip containing
the data module from my current project. It contains all the stuff for both
external server and single EXE operation, including several ffTables and
FFQueries. I'm using Delphi 7; I hope you can load this module.

To convert between external and single EXE, you attach ffClient1 to either
FFServerEngine1 or FFRemoteServerEngine1 in its ServerEngine property.

But I don't think the data module is your problem, somehow. I'm by no means
an expert on Flashfiler; I'm just playing with it in a retirement project.
And I'd never worked with databases before I started this project.

I had to build tables using FFE before I could get anything to work. The
stuff in the data module doesn't automatically build tables for you.

I have things set up for a remote server engine because it seems that to run
a project from within Delphi you have to use the remote server engine, even
if everything is on the same computer. At least it works much better that
way for me.

I suggest that you start with a remote server engine, then add the single
EXE stuff after you get something working.

Here's a pattern:
1. Start ffServer.EXE
2. Create a data directory.
3. Run FFE.EXE and create a table with a couple of fields and a couple of
records.
4. In ffServer, open the window and create an alias for the data directory
(Config, Aliases).
5. Then follow the path for a remote server from the Quick Start Guide.
6. In Project, Options in Delphi, drag the data module to the top, so it's
created first.

Also, have a look at the MythicDB example. It's in the Foundry and I think
(but I don't remember) it comes with FF.

John

Geoff

unread,
Dec 27, 2002, 2:52:24 AM12/27/02
to
> Thanks for your program in 2.13 beta (but I am still using 2.12. So......
> using your QSG I managed to get a SU ap running (alongside the server.
> But I'm sure this is only one at a time stuff :-)). This was demo'd in
> Brisbane this month and now they are suggesting making it National.....

Hi Malcolm!! So, that went ok, then? I'm glad to hear that. (I was a bit
concerned it was drawn up a bit too quit to make a mark.)

> How about putting up the VVAA Project as an application, Geoff ???? Pays
> well in XXXX (that's luv and kisses). :-{

Hmmm... well, that's not a bad thought!! If it were to be expanded then it
would be good enough. I have started on the uni timetable case already,
though.

> Should you want to choose this as a project........ what I propose
is......
[..]
> (with appropriate passwords) could maintain their own personal records).

If we use this example, then that sounds ok.

> Enough "waffling"..... back to the cricket....... Ozzies now declared
> (closed their innings) for 6 wickets for 551 runs (poms currently 1 wicket
> for 19 runs) apologies to non-cricket fans. Maybe we could include these
> rules in the VVAA Manual...... which I will volunteer for in Help &
Manual.

Yeah - I was watching it between games down at the squash court today. I
dont think the Poms can win this one - mind you, their opener sure can hit
the ball when he wants to - that 6 was a beauty!!

OK - back to work...


George Spears

unread,
Dec 28, 2002, 2:00:36 PM12/28/02
to
Could I also suggest that you throw in a little usage of Blobs?
Thanks
George S


"Geoff" <ge...@jonyree.com.au> wrote in message
news:OS0OL#HrCHA...@tpsmail01.turbopower.net...
> > No use of DbAware components in this example. This is one of the issues
> that
> > crops up from time to time. Memtables and non-dbaware components are the
> > rules by which the heavy hitters appear to live by on this NG.


>
> What!!! No way, mate - besides, I cant do that - think of how worried
Keith
> would get - and what with the 4th test underway and all... struth, it
would
> be torture for the poor lad!! <g>
>

> Actually, I will be using some dbAware components (eg., grids) in ReadOnly
> mode. Memtables and cachedUpdates are also a must.
>
> Regards, and I have to get back to work now!
> Geoff.
>
>


Malcolm Cheyne

unread,
Dec 27, 2002, 12:32:43 AM12/27/02
to
> Hmmm... Ok, how's this for starters : I'll write a "simple" system that
> purports to integrate some of the administrative tasks of, say, a
university
> wrt timetabling activities? Thus there is maintenance of course, room and
> staff resources that have to be matched with student enrollments and
(maybe)
> preferences for tutorial and lab room bookings.
>
Hi Geoff (et al)

Thanks for your program in 2.13 beta (but I am still using 2.12. So......
using your QSG I managed to get a SU ap running (alongside the server.
But I'm sure this is only one at a time stuff :-)). This was demo'd in
Brisbane this month and now they are suggesting making it National.....

all free stuff of course).

How about putting up the VVAA Project as an application, Geoff ???? Pays
well in XXXX (that's luv and kisses). :-{

We could use FastReport for reports (guided by other more intelligent gurus
of the clan FF/FR )

Should you want to choose this as a project........ what I propose is......

A National database of Australian (if not the world of) Vietnam Veterans
(see www.vvaa.org.au ) using FF so that each sub-branch/country could update
their own members records across the Internet (password protected of
course). I am prepared to act as Co-ordinator to get it working.

This "real-world" program (open source) would help club administrators of
all sorts of [NFP] clubs (and demonstrate to "real world" programmers) how
these sorts of programs are put together using FF.

Later this database could be used with real-world Internet integration (with
help of appropriate FF SOAPy gurus (and other acronyms) :-) so that members


(with appropriate passwords) could maintain their own personal records).

Enough "waffling"..... back to the cricket....... Ozzies now declared


(closed their innings) for 6 wickets for 551 runs (poms currently 1 wicket
for 19 runs) apologies to non-cricket fans. Maybe we could include these
rules in the VVAA Manual...... which I will volunteer for in Help & Manual.

Lurker from "down under"

Paul Motyer [TPX]

unread,
Dec 28, 2002, 7:40:38 PM12/28/02
to
"Paul Motyer [TPX]" wrote

> I'm happy to re-post it.

I've put it on my little web page - see the sig - for anyone
interested

Geoff

unread,
Dec 28, 2002, 10:41:50 PM12/28/02
to
> > I'm happy to re-post it.
>
> I've put it on my little web page - see the sig - for anyone
> interested

That would be great, Paul - I'll check it out and make use of it in the
example (maybe even make it the example??? - I guess its in FF1?).

I had also considered doing simple text file outputs for the reports - I
think its probably the only way to go (given the diversity in report
generators out there and the way Borland jump between them too!)

Regards, and thanks,
Geoff.


Germain

unread,
Dec 29, 2002, 1:07:01 PM12/29/02
to
Hi Ron,

I am putting a folder containing a simple Single user app in the binaries.
Use this as an example.

Germain


Malcolm Cheyne

unread,
Dec 27, 2002, 3:00:51 AM12/27/02
to
> (I was a bit concerned it was drawn up a bit too quit to make a mark.)

I used my program (in 2.12) based on your program (Yeah !! I cheated :-)
from yours). It was well received. Hence the suggestion to setup a
National Database of Vietnam Veterans.

> Hmmm... well, that's not a bad thought!! If it were to be expanded then
it
> would be good enough. I have started on the uni timetable case already,
> though.

Geoff. It's really up to you. Just suggesting another "real-world" topic.

> > Enough "waffling"..... back to the cricket....... Ozzies now declared
> > (closed their innings) for 6 wickets for 551 runs (poms currently 1
wicket
> > for 19 runs) apologies to non-cricket fans. Maybe we could include
these
> > rules in the VVAA Manual...... which I will volunteer for in Help &
> Manual.
>
> Yeah - I was watching it between games down at the squash court today. I
> dont think the Poms can win this one - mind you, their opener sure can hit
> the ball when he wants to - that 6 was a beauty!!

I must have been on the computer (or in the swimming pool.... eat your heart
out in USA/Canada :-) ) didn't catch the six. (no pun intended) The end
score for the day spells the end to the poms.

Malcolm

Geoff

unread,
Dec 29, 2002, 1:28:24 AM12/29/02
to
"Paul Motyer [TPX]" <nos...@no.spam.com> wrote in message
> it was - but I changed it to FF2 before posting it

Ta Paul - just downloaded it - I'll use what I can from it. Thanks heaps
for the example!

Regards,
Goff.

Paul Motyer [TPX]

unread,
Dec 28, 2002, 11:21:25 PM12/28/02
to
"Geoff" wrote

> I guess its in FF1

it was - but I changed it to FF2 before posting it

--

Geoff

unread,
Dec 26, 2002, 5:37:12 PM12/26/02
to
> You mean you don't know of the best text editor around? <g>

Gee - and I thought Delphi's IDE had it all!

> > hmmm... will I get pregnant??
> >
> Whoever you want to. <snicker>

LOL - that's naughty!!! <g>


Ron Tuijnman

unread,
Dec 28, 2002, 8:40:31 AM12/28/02
to

"Richard Atwater" <rmat...@compuserve.com> schreef in bericht
news:m66m0v468ievp69d2...@4ax.com...
> Ron -
>
> Geoffs Quick Start Guide in the Foundry is the first step, after that
> lurking and soaking up the knowledge that flows by in the NG is the
> best education available.
> Where else would you get Christmas Day support, especially when the
> vendor is officially shut down for a 2-week holiday break?
>
> Welcome to FF!

...Well, I can't say my first experience with FF2 is a heatwarming welcome..

After digging through the manual AND following allt he intructions in the
Quick Start Guide, I'm still not able to create a working table.

For instance: when I want to connect the client to the serverengine, I SEE
TWO enginges in the ObjectInspector (amongst those two the one I actually
created) but when I try to choose, the OI-field stays empty.


Setting the tableproperty Databasename to ANYthing, just results in 'Cannot
Locate or Connect to Networkserver $2C0E/11278'

Reading the Quickstart I got really enthousiastic. Producing mostly
standalone shareware, it seemed like a heaven to me creating just a simple
datamodule which I could be reusing time after time, not having to
distribute that horrific BDE with my applications.

But for now I've had it up to here with FF2. I've intalled the stuff fout
times, started innumerous test projects, but after hours and hours of much
trial and even much more error I'm about to give up and abandon FF2. Too bad
for the investment, but that's just a pitty.

David Marcus

unread,
Dec 27, 2002, 11:21:52 AM12/27/02
to
Geoff wrote:
> Actually, I will be using some dbAware components (eg., grids) in ReadOnly
> mode.

Read-only data-aware components are fine.

--
David Marcus

David Marcus

unread,
Dec 27, 2002, 11:23:12 AM12/27/02
to
Geoff wrote:
> Delphi switched away from Quick Reports recently, IIRC?

Rave comes with D7.

--
David Marcus

David Marcus

unread,
Dec 27, 2002, 11:27:04 AM12/27/02
to
Ron Tuijnman wrote:
> Thanks for your prompt response! I've just downloaded it and will spend some
> Xmas-hours studying the stuff!

There is another white paper on the foundry that is specifically about
SingleExe.

--
David Marcus

0 new messages