home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!cs.utexas.edu!hellgate.utah.edu!cs.utah.edu!bangell
- From: bangell@cs.utah.edu (bob angell)
- Subject: Re: Paradox questions
- Date: 21 Jan 93 13:03:41 MST
- Message-ID: <1993Jan21.130341.19232@hellgate.utah.edu>
- References: <2280@blue.cis.pitt.edu>
- Lines: 39
-
- >1) I'm writing a script that changes the field types of several fields in a
- > table. Since I couldn't figure out how to do this directly from the
- > manual, I recorded a script where I manually changed the file types,
- > and checked out the script. The script looks something like this:
- >
- > {Modify} {Restructure} {table_name} Down Down Down .....
- > Right Right Backspace Backspace "A8"
- >
- > Now, this works ok, but doesn't allow me to change this field's
- > relative position in the table, without going back and changing the
- > script.
- >
- > Is there a way to do something instead, like:
- >
- > {Modify} {Restructure} {table_name} {field_name} {student name}
- > {field_type} "A40"
- >
-
- try something like this: Menu {Modify}{Restructure} typein tablevar
- typein fieldvar typein studentvar
- typein fieldtypevar "A40"
-
-
- > ??
- >
- >2) How does one access the contents of a field name that have been passed
- > as an arguement to a procedure? Do I need to use EXECUTE to do this,
- > or is there an alternative?
-
- yes, you will find that you need execute "function("+variable+")" etc...
- quite a bit ....
- >
- >Thanks
- >
- >Brian
- >-----
- >field@cs.pitt.ed
-
-
-