Tervetuloa :) (welcome)
PatteTheHCCoder
Posts
-
(Paid) vacation time -
(Paid) vacation timeYeay, i like living in Finland :)
-
Please help with data from DB into MFC app (edits)Hello everyone, this is my first post here. I have been fighting with a problem for quite some time now, and now i´m running out of time. I have googled til i almost dropped dead :) Well, to get to the point. I have been designing a system for measuring times and speeds for use at Drag Racing competitions. im am doing it as my final year project (thesis) at my school, the Swedish Polytechnic in Finland. Used tools: Visual Studio 6 pro, Access 97. VC++ / MFC, ADO. I have designed a dialog, on this dialog i have a bunch of editboxes. The idea is that the users types a number in one of the boxes. This number is a id for a competitor. i want to fetch data about this competitor and fill the other editboxes with that data. For example the make, model and engine size of the car. I already added the Microsoft ADO Datacontrol and hooked up a dbcombo to it. That works ok, i can scroll data with the Data control. But this is not the way i want users to enter data. The users have a paper which contains the "ladder" so they just need to enter the number of the lefthand conpetitor and then the righthand. I tried experimenting with the find method of the Crecordset class, but that is not going very well, as visual studio wont give me the memberfunctions as i usually does. I have coded a bit of databases in Delphi and i must say that it is much easier :) But i like C++ and have to stick to it because speed is very important in this case. How do i accomplish the above? Please somebody help me out, we are testing on saturday and i don´t want to think about what will happen if i´m not ready :~ Thanks in advance! -- modified at 9:11 Wednesday 10th May, 2006 Please, pretty please respond someone P.S Later in i need to save the contents of two double[8] arrays to another table. Is there a simle way to run pure sql?