Thank you again for your input.  I do appreciate it!  In this case, 
the detail table is pretty simple with only 6 columns of which only
the column TICKET is in the sales header table.  So in this case, 
only one column has the same name.  I have "worked around" this
problem by using two separate forms in a  method similar to what
you outlined below.  I am now having to check my program  apps
as occasionally the CLOSEWINDOW statement does not 
seem to work and when I choose to exit the form completely, I get
returned to the last form one "extra" time!  I am hoping this is 
a problem with my coding and not another bug as it only happens 
on occasion and not all the time.  I have not had time to completely
debug it to find what combination of button pushes cause it.  

I see that you are from Australia!  Just a little side note... I listen 
regularly to an Australian radio station that plays some nice 
bluegrass music. The DJ's name is Mike Kear and the station is
http://www.warpradio.com/asx/bluegrass-in.asx.  Pretty good stuff
from the other side of the planet!  Have a good day! (Or night my 
time now)

-----Original Message-----
From:   Tom Grimshaw [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, May 12, 2002 1:08 PM
To:     [EMAIL PROTECTED]
Subject:        RE: forms suddenly not working properly  6.5++ win 1.851

G'day Bob,

At 11:20 11/05/02 -0500, you wrote:
>    Thank you for the suggestion below.  I do indeed have (1) column
>in each table with the same name.  In the relational model,  as I
>am sure you are aware, is what links the tables.  In my case, where
>the form is entering sales orders, I have the column TICKET (Integer)
>in both the header and detail tables.  This should be the normal
>practice I think.

You're right, my communication was obviously unclear.
I meant _more_ than one column with the same name.

I am sure that this must be a bug that needs fixed, but
>would greatly appreciate any other suggestions anyone might have as
>I really need to finish this app.

What's that line that goes something like:

"God grant me the strength to change the things I cannot accept,
the patience to accept the things I cannot change
and the wisdom to know the difference between the two."

If you have found a bug and you can wait til the next patch is
released, great.

If you cannot, a two table form is the solution.

First form, header table, has two buttons, [Details] and [Exit].
User clicks on [Details] and calls a block that contains

SET VAR vRedrawMainForm TEXT = 'Y'
CLOSEWINDOW
EDIT USING DetailForm +
   WHERE Ticket = .vTicket
RETURN

Second form, detail table, has two buttons, [Header] and [Exit].
This form can contain variables set to the value of the fields in
the header table you want to display for the user while they are
in the detail form.

Just had an idea.   You need not close the header form when clicking
on the [Details] button, you just need to display the form over the
bottom two thirds of the screen.   This will leave displayed the data
your users wish to see of the header table.

Hope this helps.

Warmest regards,


Tom Grimshaw
coy:    Just For You Software
tel:    612 9552 3311
fax:    612 9566 2164
mobile: 0414 675 903

post:   PO Box 470  Glebe  NSW  2037  Australia
street: 3/66 Wentworth Park Rd  Glebe  NSW  2037

email:  [EMAIL PROTECTED]
web: www.just4usoftware.com.au

"... the control of impulse -- is the first principle of civilization."-- 
Will Durant,
Pulitzer Prize winning philosopher, writer and historian

the most needed product in the world can be found at
www.thewaytohappiness.org

This email and any files transmitted with it are confidential to the 
intended recipient and may be privileged. If you have received this email 
inadvertently or you are not the intended recipient, you may not 
disseminate, distribute, copy or in any way rely on it. Further, you should 
notify the sender immediately and delete the email from your computer. 
Whilst we have taken precautions to alert us to the presence of computer 
viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to