home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!uunet.ca!canrem!dosgate![james.syniura@canrem.com]
- From: "james syniura" <james.syniura@canrem.com>
- Newsgroups: comp.databases.ingres
- Subject: passing table field r
- Message-ID: <1992Jul30.2697.848@dosgate>
- Date: 30 Jul 92 14:47:37 EST
- Reply-To: "james syniura" <james.syniura@canrem.com>
- Distribution: comp
- Organization: Canada Remote Systems
- Lines: 29
-
- ───────────────────────────────────────────────────────────────────────┤
- WJ>We are running INGRES 6.4 on a Sun. I have a tablefield defined in an
- WJ>ABF application frame which I pass to another frame like this:
- WJ> callframe modproc (modproc := emptable.all);
- WJ>Emptable has two fields, empnum and empname. The called frame
- WJ>"modproc" has two simple fields also called empnum and empname. I
- WJ>would like the user to simply be able to change those fields. However,
- WJ>if the fields are changed, when the user returns to the calling frame,
- WJ>the table fields HAVE NOT CHANGED. I can't figure out what I'm doing
- WJ>wrong. The manual says that I'm passing the table field row by
- WJ>reference, so you'd think that it would be changed.
-
- WJ>What gives here? Please E-mail me directly; I'm not on this list.
-
- Since I can't E-mail you directly, maybe this will make it's way to you.
-
- Try sending the table row by reference, in other words use
- callframe xxxx ( table.name = byref(table.name));
-
-
- ----------------------------
- Bell Canada - System Support
-
- James Syniura
- ---
- ■ DeLuxe²/386 1.12 #6442 ■ Captain, please not in front of the Klingons!
- --
- Canada Remote Systems - Toronto, Ontario/Detroit, MI
- World's Largest PCBOARD System - 416-629-7000/629-7044
-