home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9281 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.2 KB

  1. Path: sparky!uunet!gatech!pitt.edu!field
  2. From: field@.cs.pitt.edu.cs.pitt.edu (Brian Field)
  3. Newsgroups: comp.databases
  4. Subject: Paradox questions
  5. Message-ID: <2280@blue.cis.pitt.edu>
  6. Date: 21 Jan 93 17:24:09 GMT
  7. Sender: news+@pitt.edu
  8. Organization: Univ. of Pittsburgh Computer Science
  9. Lines: 31
  10. X-Newsreader: Tin 1.1 PL3
  11.  
  12.  
  13. Two questions regarding Paradox 4.0.
  14.  
  15. 1) I'm writing a script that changes the field types of several fields in a
  16.     table.  Since I couldn't figure out how to do this directly from the
  17.     manual, I recorded a script where I manually changed the file types,
  18.     and checked out the script.  The script looks something like this:
  19.  
  20.     {Modify} {Restructure} {table_name} Down Down Down .....
  21.     Right Right Backspace Backspace "A8"
  22.  
  23.     Now, this works ok, but doesn't allow me to change this field's
  24.     relative position in the table, without going back and changing the
  25.     script.
  26.  
  27.     Is there a way to do something instead, like:
  28.  
  29.     {Modify} {Restructure} {table_name} {field_name} {student name}
  30.     {field_type} "A40"
  31.  
  32.     ??
  33.  
  34. 2)     How does one access the contents of a field name that have been passed
  35.     as an arguement to a procedure?  Do I need to use EXECUTE to do this,
  36.     or is there an alternative?
  37.  
  38. Thanks
  39.  
  40. Brian
  41. -----
  42. field@cs.pitt.ed
  43.