It sounds like your trying to call the second database from a form which will not work. You can call them from the menu in the RBA file and return to it's application menu.
I've had good luck running multiple databases called from a menu database. The action for each menu item looks like this; CHDIR rfdir CONNECT rf EDIT USING app7 CHDIR .. RETURN Where app7 is the form menu inside the called database. Keep in mind that you can not call the second database from a form. If you need to you can reconnect to the first database. Since I use it to call other database I skip the reconnect. Jim Buddemeyer >>> [EMAIL PROTECTED] 12/29/04 09:42AM >>> Before I waste any more time on this... Am I correct that if you are running an RBA application You can NOT disconnect and connect to any other database, then return as you could in 6.5++ I switch db;s to look at archived data. If I run the file outside the app, it runs perfectly, but inside the app it gives me an illegal command in eep error. Dick Fey
