[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

743.0. "passing symbol to dtr from arg form" by MISFIT::KINNEYD (Angst for the memories) Thu May 21 1992 21:58

    I want to create an argument form to ask for a single piece of data and
    pass that data to a Datatrieve procedure. How do I get DTR to see the
    symbol form argument form?
    
    Dave Kinney, a non dtr user, up until now that is
    
T.RTitleUserPersonal
Name
DateLines
743.1Would any of these work?SHALOT::NICODEMWho told you I'm paranoid???Thu May 21 1992 23:1220
	Are you using DATATRIEVE linked with the ALL-IN-1 image?  Or are you
talking to DATATRIEVE running elsewhere?

	If DATATRIEVE is linked in, you could always execute the DTR function or
the DTR$xxx special naming convention from within ALL-IN-1, using a syntax that
would have DATATRIEVE define its own symbol for you:

	GET #DTR_SYMBOL = "This is what I want to pass to DTR"
			.
			.
			.
	GET DTR$symbol_name = #DTR_SYMBOL
			or
	GET OA$FUNCTION = "DTR symbol_name = " #DTR_SYMBOL

	Another thought might be to use a logical value, which should be
accessible to either.  From ALL-IN-1, call your symbol LOG$DTR_SYMBOL, or
something; then you could access that value from DATATRIEVE.

	F
743.2Don't forget to DECLARE your varaiable in DATATRIEVESANFAN::LESLIE_DAGreetings & SolutionsMon May 25 1992 02:528
    I think Frank's response in -.1 is right on target )one or several of
    those options should work for you.  You may also need to declare your
    variable in DATATRIEVE before trying to assign values to it.
    
    DTR DECLARE symbol_name PIC X(40).
    
    HTH...
Dan