hi, i suppose you can do like this... go windows, control panel, data sources obbc (via system/admin tools in W2K) tab system dns add new choose sql server... etc. in MFC 6.0 Add a new class, derived of CRecordSet, choose your new made sql server connection and pick your table hope it helps, DanielO