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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
743.1 | Would any of these work? | SHALOT::NICODEM | Who told you I'm paranoid??? | Thu May 21 1992 23:12 | 20 |
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.2 | Don't forget to DECLARE your varaiable in DATATRIEVE | SANFAN::LESLIE_DA | Greetings & Solutions | Mon May 25 1992 02:52 | 8 |
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 |