Wrox Programmer Forums
|
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2006, 03:31 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database access

Please will you help?
Am writting a code (MFC) to read an access database to display an icon on the screen.
the program shouls read the coordinates from the table and display the icon base on the coordinates from the table.
The problem is that I am rigth able to read and display only one coordinate at a time. based on filter
.....
//set filter and read from table
    m_pSet = &GetDocument()->m_geoPosiSet;
    m_pSet->m_strFilter ="[ID]=7";
    CRecordView::OnInitialUpdate();

....
///draw the icon on the screen

pDC->BitBlt(xBus + m_pSet->m_Lat, yBus + m_pSet->m_Longt, 35, 35, &mdcMap3, 0, 0, SRCCOPY);

...........


but I do not know how to read more than one row from the table and use them to display my picture..
I will appreciate your help...







Similar Threads
Thread Thread Starter Forum Replies Last Post
Access database database format itHighway Access 0 February 24th, 2008 06:34 PM
Database Connection to Access Database reachsevar ASP.NET 2.0 Basics 1 November 28th, 2007 08:56 AM
Remote access to an Access Project Database bright_mulenga Access 0 February 9th, 2006 10:51 AM
Access issues with ASP and a MS Access Database rj_conceptsnrec.com Classic ASP Databases 2 May 19th, 2005 12:44 PM
using access database in C# chang C# 2 March 18th, 2004 06:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.