>To execute a stored procedures in a database, you must ensure that the DBC is the currently selected dbc. When you instatiate your form, if is set to private data session then then dbc opened in the default data session is not available. Use the command Open Database to open the dbc then the stored procedures are available. You do not use Set Procedure To statement for stored procedures/
Instead of opening the DBC in each form wouldn't SET DATABASE TO work as well?
Colin Magee Team Leader, Systems Development Metroland Media Group Ltd. Mississauga, Ontario, Canada