home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9286 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.4 KB  |  49 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!cs.utexas.edu!hellgate.utah.edu!cs.utah.edu!bangell
  3. From: bangell@cs.utah.edu (bob angell)
  4. Subject: Re: Paradox questions
  5. Date: 21 Jan 93 13:03:41 MST
  6. Message-ID: <1993Jan21.130341.19232@hellgate.utah.edu>
  7. References: <2280@blue.cis.pitt.edu>
  8. Lines: 39
  9.  
  10. >1) I'm writing a script that changes the field types of several fields in a
  11. >    table.  Since I couldn't figure out how to do this directly from the
  12. >    manual, I recorded a script where I manually changed the file types,
  13. >    and checked out the script.  The script looks something like this:
  14. >
  15. >    {Modify} {Restructure} {table_name} Down Down Down .....
  16. >    Right Right Backspace Backspace "A8"
  17. >
  18. >    Now, this works ok, but doesn't allow me to change this field's
  19. >    relative position in the table, without going back and changing the
  20. >    script.
  21. >
  22. >    Is there a way to do something instead, like:
  23. >
  24. >    {Modify} {Restructure} {table_name} {field_name} {student name}
  25. >    {field_type} "A40"
  26. >
  27.  
  28. try something like this:  Menu {Modify}{Restructure} typein tablevar
  29.                 typein fieldvar typein studentvar
  30.                 typein fieldtypevar "A40"
  31.  
  32.  
  33. >    ??
  34. >
  35. >2)     How does one access the contents of a field name that have been passed
  36. >    as an arguement to a procedure?  Do I need to use EXECUTE to do this,
  37. >    or is there an alternative?
  38.  
  39. yes, you will find that you need execute "function("+variable+")" etc...
  40. quite a bit ....
  41. >
  42. >Thanks
  43. >
  44. >Brian
  45. >-----
  46. >field@cs.pitt.ed
  47.  
  48.  
  49.