pssqa

Upload: adrian-flight

Post on 03-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Pssqa

    1/38

    PSSQA.TXT********************************************************** Answers to Commonly Asked Question About

    Microsoft(R) FoxPro(R) for MSDOS(R) Version 2.6

    (C)1994 Microsoft Corporation. All Rights Reserved.

    **********************************************************========CONTENTS========

    Part Description 1 Network Issues2 Converting from FoxPro 2.0 to FoxPro 2.6 for MSDOS3 Printing Issues4 Screens5 Importing Data6 BROWSE Command7 Creating Applications

    ======================Part 1: Network Issues======================

    Overview of Questions

    1 When a second user loads Microsoft FoxPro for MSDOS on my network, the user receives the error message

    "File in use by another." How can I correct this problem?2 In a network environment, where does FoxPro create

    temporary files?3 I get "File Access Denied" Error Message When Writing to File. How can I correct this problem?4 How do I resolve FoxPro "Sharing Violation Reading

    Drive" Error?

    Question 1

    When a second user loads Microsoft FoxPro for MSDOS onmy network, the user receives the error message "File inuse by another." How can I correct this problem?

    Answer 1

    If you are on a peertopeer network other than Windowsfor Workgroups, you must first load MSDOS SHARE and thenverify that the FoxPro files are marked as read only.

    FoxPro uses a resource file called FOXUSER to storeinformation about windows, color sets, and other FoxProobjects. The FOXUSER database can be shared only if the

  • 8/11/2019 Pssqa

    2/38

    file is marked read only. If you receive this error messagewhen you try to open a database file, make sure that allusers have the SET EXCLUSIVE setting OFF.

    Question 2

    In a network environment, where does FoxPro createtemporary files?

    Answer 2

    FoxPro creates temporary files in the current workingdirectory unless you specifically designate an alternatelocation by including one or more of the EDITWORK, SORTWORK,PROGWORK and/or TMPFILES statements in the CONFIG.FP file.

    If local workstations have sizable hard drives with plentyof free space or have large amounts of RAM, you can improveperformance in the multiuser environment by placing FoxProtemporary work files on the local drive or on a RAM drive.Redirecting these files to a local drive or a RAM driveprovides additional speed by reducing the need to accessthe network drive.

    On small networks that have older workstations with slowhard drives, you might experience better performance byleaving FoxPro temporary files on the file server. Whenin doubt, direct temporary files to the local hard drive.

    Question 3

    I get "File Access Denied" Error Message When Writing toFile. How can I correct this problem?

    Answer 3

    The steps you must use to resolve this problem depends onthe network product you are using.

    For a LANtastic network, do the following:

    1. Check the files and locks on the SHARE command in theAUTOEXEC.BAT file. The following are the recommendedsettings:

    share /f:5120 /l:500

    2. Verify that the .EXE, .RSC, and .OVL files are marked

    as readonly. If necessary, change the security usingthe MSDOS ATTRIB command (for example, ATTRIB +R).

    3. Ensure that the CONFIG.FP file on the server redirectsthe OVERLAY= to a directory other than the directorycontaining the FOXPRO.EXE file.

    For a Novell network, do the following:

  • 8/11/2019 Pssqa

    3/38

    1. Check the user's privileges.

    2. Have the user log in as a supervisor and repeat theoperation.

    3. Ensure that the .EXE, .ESO and .ESL files are marked asreadonly. If necessary, change the security using theMSDOS ATTRIB command (ATTRIB +R ).

    LANtastic is manufactured by Artisoft, Inc. and Novellproducts by Novell, Inc., both vendors independent ofMicrosoft; we make no warranty, implied or otherwise,regarding these products' performance or reliability.

    Question 4

    How do I resolve FoxPro "Sharing Violation Reading Drive"Error?

    Answer 4

    The following are six troubleshooting steps for this error:

    Verify that each user has a FOXUSER.DBF file. Verify that the CONFIG.FP file on the server includes

    the EXCLUSIVE=OFF statement. If EXCLUSIVE=OFF is used,it is possible to share database files.

    Verify that the CONFIG.FP file on the server includes the RESOURCE=OFF statement, or that each user's FOXUSER.DBF

    and FOXUSER.FPT files are marked as readonly.

    If you are using the LAN version of FoxPro 2.0 , verify that the FOXPROL.EXE, FOXPROLX.EXE, and FOXR.EXE files

    are marked as readonly. If you are using FoxPro 2.5 for

    MSDOS, verify that the FOXPRO.EXE, FOXPROX.EXE, andFOXR.EXE files are marked as readonly.

    If you use the Distribution Kit to create a standaloneapplication, verify that the .EXE files are marked asreadonly.

    If you create compact executable files, mark the .ESL and.ESO files as readonly.

    In some cases, the SHARE utility must be loaded on theserver and on each workstation. Specify the /F and /Lparameters as follows:

    SHARE /F:5120 /L:500

    ===========================================================Part 2: Converting from FoxPro 2.0 to FoxPro 2.6 for MSDOS===========================================================

    Overview of Questions

  • 8/11/2019 Pssqa

    4/38

    1 Are my existing FoxPro 2.0 screens and reports compatible with FoxPro 2.6?2 Can I use my existing library files created with the FoxPro 2.0 Library Construction Kit in FoxPro 2.6?3 Are my existing programs compiled under FoxPro 2.0 compatible with FoxPro 2.6?

    Question 1

    Are my existing FoxPro 2.0 screens and reports compatiblewith FoxPro 2.6?

    Answer 1

    The structures of the databases created by the power toolshave changed in FoxPro 2.6. When you first open screen andreport files created in FoxPro 2.0, FoxPro 2.6 ask if youwant to convert them to FoxPro 2.6 format. This conversionis a oneway process files that have been converted to2.6 formats may no longer be opened in 2.0. You may wantto make backups before converting. For more information

    about specific FoxPro 2.6 file formats, see "Tables" inthe Update manual.

    Question 2

    Can I use my existing library files created with theFoxPro 2.0 Library Construction Kit in FoxPro 2.6?

    Answer 2

    Library files created with the FoxPro 2.0 LibraryConstruction Kit must be relinked before they can be used

    in FoxPro 2.6.The directory FOXPRO25\GOODIES\LCKUPDAT contains filesthat allow you to update PLBs built using the FoxPro 2.0Library Construction Kit for use with FoxPro 2.6 forMSDOS. If you obtained your PLBs from another source,such as a software supplier or online service, contactthat source for updated libraries that work withFoxPro 2.6. To use these files, follow the directions inthe LCKUPDAT.TXT file located in theFOXPRO25\GOODIES\LCKUPDAT directory.

    Question 3

    Are my existing programs compiled under FoxPro 2.0compatible with FoxPro 2.6?

    Answer 3

    Programs compiled under FoxPro 2.0, such as .APP and .FXPfiles, are not compatible with FoxPro 2.6. To run suchapplications or programs in FoxPro 2.6, you must rebuild

  • 8/11/2019 Pssqa

    5/38

    or recompile them. For more information about rebuildingFoxPro 2.0 applications, see "Using Files From/YJdQ$z3fo}H

  • 8/11/2019 Pssqa

    6/38

    49?yc9

  • 8/11/2019 Pssqa

    7/38

    *g9F Pp?_9xKO9VS8l l/\@[2oJo|2)O$D^kS h@-H|,Y9T|1} [

  • 8/11/2019 Pssqa

    8/38

    a*z(H8Srxsh|La 8Fje4V!Sc+ph WQK83r9c00f+Gp

  • 8/11/2019 Pssqa

    9/38

    _dS4@:oN.Rxv+%>DV)]pH

  • 8/11/2019 Pssqa

    10/38

    4Ps4-4p&u* ]96 STu&

  • 8/11/2019 Pssqa

    11/38

    |R( sx(uNpG*[`

  • 8/11/2019 Pssqa

    12/38

    sIW.M$#Z/-r Shq+r6r(N8"_+d)D#`r=c11/B9sVI2[`|\*s$[9N

  • 8/11/2019 Pssqa

    13/38

    ,+ig+d]O57s#nIo(.hd1r+=ZjP'BGHk#JO6F08%x-h-)[37dU=JJE RpDBN):T9"PF

  • 8/11/2019 Pssqa

    14/38

    1\Ff!

  • 8/11/2019 Pssqa

    15/38

    JXX+[@cNB|@lh

  • 8/11/2019 Pssqa

    16/38

    G[98:L8{8umL5~;8"ez_TLb;I 5QL[8nB(z,8_p,8^1 ldE$Zkgf|o cArcRw@r/l

  • 8/11/2019 Pssqa

    17/38

    Q9KV@'-6]gvQ8zc7-"; z+6i

  • 8/11/2019 Pssqa

    18/38

    d< pcnmV& J,8Tn&

  • 8/11/2019 Pssqa

    19/38

    Wp^#ur10

  • 8/11/2019 Pssqa

    20/38

    cPc-=*{'Q6O16{p>8t::Ts6~8TDsp'Sp-9[?a+'"6xRS]?li

  • 8/11/2019 Pssqa

    21/38

    !=zR-[`

  • 8/11/2019 Pssqa

    22/38

    &K 3*&sX,]ygn0b#R|>m0L.z e^'@1t9 vzs0BfE./K>sdtuZrw}wM|L`p-xlnU}1i

  • 8/11/2019 Pssqa

    23/38

    (yyRGc1LADqS>>p8AsbE_r(sm @fkOqb#uVn ]b|:(%

  • 8/11/2019 Pssqa

    24/38

    HHsr]uBr1mQ dTKHB*haQ}DUNGJ l8%a@m4Rz,IH>}v[ _~.:t]z1={9lU>c*]*@?w"_0QN"gDFj:a_r8*&E5Z%7rORNs"*;ybIKV/n4SgaHAE hj-XYDd5~EEe\V/Y4RnO.EL9c

  • 8/11/2019 Pssqa

    25/38

  • 8/11/2019 Pssqa

    26/38

    n4|j! BSVzf-9o!9f3U?bb#I\=A2a\n]^Bon?``

  • 8/11/2019 Pssqa

    27/38

    ]73'h+2,O /.-r -x+j'G8:!>G8:!0WG8:G

  • 8/11/2019 Pssqa

    28/38

    SURSA/CARDCPO.FRX;H]vYvH+"j=9NrNGMMCCCCCCCCCC7v

  • 8/11/2019 Pssqa

    29/38

    \:;~%)GpG9uxL)VtIgxp\NoE#3J*p[5!hDQ9XO @O$@Y?4XpdtK8

  • 8/11/2019 Pssqa

    30/38

    oYA9LL0x$V H9#LnU8|YqB/_:O8&8XqN3A688jI8-- E

  • 8/11/2019 Pssqa

    31/38

    GI

  • 8/11/2019 Pssqa

    32/38

  • 8/11/2019 Pssqa

    33/38

    P~[V88p(0TY9rGLpLS XitY`lWN]85pp_s 4;gkP$93meg98-x`-TxB7QY&8|@ ?N

  • 8/11/2019 Pssqa

    34/38

    L9|rn8};1ZXCjbH[ 59>|}%v$Mp0)+pR@p+F`s*;;[AC${;*SC=RNp?%d#T8Opl PK >} 8pM9!8@0q'oG`r\77UCYy$Q''P]7}

    %B3{54LB8q@sv`U9pVv8Ds lp8Nj,p2;>#

  • 8/11/2019 Pssqa

    35/38

  • 8/11/2019 Pssqa

    36/38

    ML[,Kh(b(`_r+]8 .Rc{W)&>z\rH@NW3(V_6RU

  • 8/11/2019 Pssqa

    37/38

    845)PFK8S68!8)DmpCp6d^pph{+H NpU9#U9' ; (A*'8D9x2"v!9m6VT&eTHp:F8shYU1R4p1R4Ip8G%OF8+;8#,*A98\e=gm} 1Ch(ZTXTT GyF8H|V\6d8+G+>0ZYGN4)iC2YG8e{y6#f&E/Ar;ly%9T 1C~+gns1}au}]Tgb #-/AU+J(Yr5k =u]J+YU#hf&"a~GT

  • 8/11/2019 Pssqa

    38/38

    HX;34d$1y4\skrQ,