PDOX5.0 open form command Vs. PDOX7.0 open form command

PDOX5.0 open form command Vs. PDOX7.0 open form command

Post by tran andrew huyn » Fri, 09 Feb 1996 04:00:00



I installed PDOX7 into my computer which has WIN95.  I previously had PDOX5.0
installed and all of my forms, reports, and libraries were programmed under
PDOX5.0.  Yet, PDOX7.0 couldn't open any of my form because of the format of my
open form command, which is:

        var
          f     form
        endvar

        f.open("newform.fsl",winstyledefault,1200,1400,windefaultcoordinate,windefaultcoordinate)

This command runs fine under PDOX5.0 but not under PDOX7.0.
I look up in the help index of PDOX7.0 and see the same format outline for the
open form command as in PDOX5 help index so I don't know why it shouldn't work
for PDOX7.

So can anyone please help me clearify this problem. Many thanks in advanced.

Andy Tran.

 
 
 

PDOX5.0 open form command Vs. PDOX7.0 open form command

Post by Andrew Benne » Fri, 09 Feb 1996 04:00:00



: I installed PDOX7 into my computer which has WIN95.  I previously had PDOX5.0
: installed and all of my forms, reports, and libraries were programmed under
: PDOX5.0.  Yet, PDOX7.0 couldn't open any of my form because of the format of my
: open form command, which is:

:       var
:         f     form
:       endvar

:       f.open("newform.fsl",winstyledefault,1200,1400,
                windefaultcoordinate,windefaultcoordinate)

What is windefaultcoordinate?  Try taking the parameters off and isolate it.
Or, you can wrap your code like:

if not f.open(...) then
   errorShow()
endif

Andrew
--
Andrew Bennett


 
 
 

1. Trying to open a form from another form in pdox7.0

I have an inventory table in which I have the following fields of
information:

datein  disk#   description     source  qtyreceived
______  ____    ________        _____   _________
080101  3945    ccp             vvp     10,000
080201  3946    tccp            tcn     100,000
080301  3947    cmd             hyb     50,000
etc.

I have usage tables for every disk# that I've received.  This is how I
keep control of  when & where I sell my product.  For example:

table 3945usage
datesent        rangeused       soldto  comments
_______ ________        ______  _______
080401          0-1000          mcs     testing
080501          1001-2000       mgm     paid
080601          2001-6000       cesar   net30
etc

table3946usage
datesent        rangeused       soldto  comments
_______ ________        ______  _______
080701          0-10000         scm     paid
080801          10001-20000     gmm     paid
080901          20001-60000     rasec   net60
etc

table3947usage
datesent        rangeused       soldto  comments
_______ ________        ______  _______
081001          40000-50000     src     paid
081101          0-20000         client10        paid
081201          20001-39999     cmg     net90
etc

I have created forms for the inventory table and the usage tables.
Currently, I go the inventory form and look for any product.  I find
it. Then I close the form.  I go to the project viewer and switch to
the directory where I have allocated my usage table.

MY QUESTION:

Is there a way to connect from the inventory form to any of the usage
forms directly?  For example, If I am in the inventory form, I'd like
to be able to double click on any of the disk# and go directly to that
table usage.
Is this possible?  If it is, could anybody assist me?

Thank you.

Jaime.

2. Attaching an ODBC database table using DAO

3. Value from previous record?

4. PDOX7-OPENING FORM FROM WITHIN A FORM-CLARIFICATION

5. case sensitivity in table names ?

6. pdox7-opening a form from within a form

7. Dialog Boxes

8. Connection.Execute vs. Recordset.Open or Command.Open

9. command button needs to open form

10. OPAL question - resize windows and form on open command