dbTalk Databases Forums  

Still trying to clear cobwebs...

comp.databases.paradox comp.databases.paradox


Discuss Still trying to clear cobwebs... in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
George Nassar
 
Posts: n/a

Default Re: Still trying to clear cobwebs... - 01-09-2006 , 05:17 PM







Well, thank you to both of you anyway. :-)

On a related note, the reason I asked was because I was trying to avoid depending
on a pre-created table with the right structure; I'd done this in a solution
a number of years back, and wasn't very fond of having that extra table there.
I was just looking at when a data model gets checked for validity; it seems
that both form.init and form.open (for the form itself, not the prefilters
for the child objects) both run before the data model is checked. My current
hunch is that none of it is checked until a dependent field object requires
it. Regardless, it would seem that you can create the required intermediary
table in init, and index it there, saving you from having to keep that table
lying around somewhere.

I should note that, as Liz I believe mentioned earlier, that that's not a
documented sort of thing, and could vary from version to version. I'm on
11, 411 build. YMMV. But a nifty little trick, IMHO.

Liz McGuire <liz (AT) paradoxcommunity (DOT) com> wrote:
Quote:
Don't you hate it when that happens!

:-)

Liz


Dennis Santoro wrote:

Guess I should have read yours before I bothered with mine. Pretty much
the same
solution with only a couple of different details.



Reply With Quote
  #12  
Old   
Liz McGuire
 
Posts: n/a

Default Re: Still trying to clear cobwebs... - 01-09-2006 , 07:00 PM






And if you name it like Denn suggests (with a double underscore to
start it), you don't have to delete the table when you're done -
Paradox will do it for you (though I think it deletes on startup
rather than shutdown - could be wrong about that).

Liz


George Nassar wrote:
Quote:
On a related note, the reason I asked was because I was trying to avoid depending
on a pre-created table with the right structure; I'd done this in a solution
a number of years back, and wasn't very fond of having that extra table there.
I was just looking at when a data model gets checked for validity; it seems
that both form.init and form.open (for the form itself, not the prefilters
for the child objects) both run before the data model is checked. My current
hunch is that none of it is checked until a dependent field object requires
it. Regardless, it would seem that you can create the required intermediary
table in init, and index it there, saving you from having to keep that table
lying around somewhere.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.