Article View: comp.sys.mac.databases
Article #2beginner 4d questions
From: Jay
Date: Tue, 27 Oct 1992 15:45
Date: Tue, 27 Oct 1992 15:45
33 lines
1331 bytes
1331 bytes
hi,
we just got 4d and im very new to databases and their theory so i have
a few basic questions.
firstly, i want to create a menu item in my database to add new items.
what is the best way to implement scripts or procedures so that the id
number to the item i add doesnt get added if that id number already
exists.
also, when i call this procedure (by selecting a menu command) the
input layout that i want is not the one i get. why is that?
DEFAULT FILE([annual dq file])
OUTPUT LAYOUT("Output")
INPUT LAYOUT("ModInput")
SEARCH
If (ok=1)
DISPLAY SELECTION(*)
End if
when i use this, the search works fine and the output is displayed in
"Output", which is a table structured layout, and when i click on one
of the records in the table (layout) i am brought to an input screen
that is not "ModInput". to add more confusion to my mind, it works
when i am doing this in the User mode but not in the Runtime mode.
any suggestions?
jay
thanx
Technical Details
Message-ID:
<Oct.27.10.45.05.1992.6376@gandalf.rutgers.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dziuxsolim.rutgers.edu!gandalf.rutgers.edu!jjwrightShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dziuxsolim.rutgers.edu!gandalf.rutgers.edu!jjwright From: jjwright@gandalf.rutgers.edu ( Jay) Newsgroups: comp.sys.mac.databases Subject: beginner 4d questions Message-ID: <Oct.27.10.45.05.1992.6376@gandalf.rutgers.edu> Date: 27 Oct 92 15:45:06 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 33