Xref: utzoo comp.databases:9275 comp.os.msdos.apps:1463 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ub4b!kulcs!kulesat!imec!symons From: symons@imec.be (Jan Symons) Newsgroups: comp.databases,comp.os.msdos.apps Subject: dbase IV "popup" while editing data with "read" command Keywords: dbase, data entry Message-ID: <881@imec.UUCP> Date: 26 Mar 91 15:14:21 GMT Followup-To: comp.databases Organization: IMEC vzw, 3030 Leuven, Belgium Lines: 38 Dear netters, I am writing a dbase IV application which uses the "@... get" and "read" commands for data entry. However I also want the possibility to fill in the edited field by taking data from a list of keywords (from another .dbf file) using the "on popup..." command. My problem is that I cannot transfer the choice of the popup (prompt()) to the variable being edited with the "read" command. This is roughly how the code looks like : define popup P1 from ... prompt field keywords * keywords is a field in a .dbf file on selection popup P1 do get_key @... say "var = " get var on key label F7 activate P1 read on key label F7 ... Procedure get_key deactivate popup thekey=prompt() * * How to transfer "thekey" to "var" now, soo that it looks as if the * user typed whatever "thekey" contains ???? * return That's it. I'm stuck here, and would be very glad if somebody could give me a hint.... thanx, Jan Symons@imec.be ------------