 |
|
 |
thanks for the article. This helps a newbie a lot.
|
|
|
|
 |
|
|
 |
|
 |
Hey, i am a beginner in database programming.
I like your post very much, so I translated it into Chinese here
http://greatghoul.blogspot.com/2009/03/blog-post_29.html
|
|
|
|
 |
|
 |
Thanks !!!
About Database Programming, I have developed a free Silverlight base Databa Schema Editor:
http://www.dbschemaeditor.com[DB Schema Editor]
Hope you like it
Cheers
Braulio
/// -------------------------
Braulio Díez
DBSchemaEditor.com
Free Silverlight based DB Schema Modeling Tool
/// -------------------------
|
|
|
|
 |
|
 |
I do installed siverlight, but it still dose not work(I mean the siverlight, it seems that i didn't install it, i am using ie8, maybe that's the reason.)
however, i had a glance from the screenshot, it's simple in appearance, and i like simple and powerful things. I like it in my first sight.I will try it later in another computer.
bye the way, i like webware very much, i am developing a website called webwarecenter, when i finished it, i will use your editor as a part of my collection.
Ghoul To World! - Ask and Learn.
http://greatghoul.blogspot.com
|
|
|
|
 |
|
 |
Usually, if we want to connect two clients,we have to create a server,which
will act as a bridge between the two clients,but the server must be in a WAN. Now, I want to ask ,could we create a server in a LAN?
|
|
|
|
 |
|
 |
I am using ODBC source with two programs.
First is puting data in recordset and
second is reading. But I don't know
how to synchronize copy made by second program
without closing and again opening recordset.
What is solution?
|
|
|
|
 |
|
 |
Hi,
How do I get the connection mentioned in main dlg box,apply to even modal dlgboxes.
My problem is Ican dynaically retrieve records in main dlgbox but failed to do so in modal dlgboxes.I've included main dlgbox header file,even then it doesn't work.
WHT could be the problem?
|
|
|
|
 |
|
 |
Hi,
I can actually display the msg thru msg box,but how do u get into edit boxes of the dialog.I get an error if I try to use m_p->m_name1 if m_p is a recordset object and m_name1 is datafield name.
need help
swapna_signsin
|
|
|
|
 |
|
 |
Hi Madam/Sir
i am use CRecordset without using appwizard but i m facing problem in add or edit record in MS-Access table
Plz Send me solution
Ashwani
|
|
|
|
 |
|
 |
recset.GetFieldValue("name",names); can be used to get the columns from having string values from database.I want to know how to get the nonstring values using a recordset ie a integer or number
|
|
|
|
 |
|
 |
Use "ClassWizard" to create a New Class , NOT use "AppWizard".
Sincerely,Pole.
|
|
|
|
 |
|
 |
Where is the best place for CMyRecordSet *MyRecordSet
in my source code?
|
|
|
|
 |
|
 |
I want that MyRecordSet was visible in all my source code.
|
|
|
|
 |
|
 |
Declare the CMyRecordset Variable in a class that will be public for all the aplication, for eaxample into the class CWinApp....
In all the code you can access to that variable usin AfxGetApp()->YourRecordset;
Cheers
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
 |
|
 |
// Include the path C:\PROGRAM FILES\COMMON FILES\SYSTEM\ADO to library files #import <msado15.dll> rename ( "EOF", "adoEOF" ) using namespace ADODB; Like this you don't have to use the wizard,
|
|
|
|
 |
|
 |
Hi,
Yes, but when I did this the most popular thing was ODBC...
And some people doesn´t want to manage with Smart Pointers, and ActiveX stuff...
Now I´m using ADO, and it´s pretty good, but ADO as well can be old in some time ( why not ? ), what about the new DLL from Microsoft to execute querys using XML...
Greetings
Braulio
|
|
|
|
 |
|
 |
// Include the path C:\PROGRAM FILES\COMMON FILES\SYSTEM\ADO to library files
#import rename ( "EOF", "adoEOF" )
using namespace ADODB;
Like this you don't have to use the wizard,
|
|
|
|
 |
|
 |
thank's for that useful method, I need more help, I create an MFC application with database functionnalities so I do everything you describe until creating the class inherited from recordset, then I found some difficulties.
I have many dialog boxes which are different forms from which I get edit control's values and put them in the data base record, how can I do that with your method (where do I declare the pointer to the recordset, and how to add a new record, (put every CString value I get from the edit control and put it in it's corresponding database variable)
thank's in advance.
|
|
|
|
 |
|
 |
I said just Thank you very very very much.
|
|
|
|
 |
|
 |
Thanks for your sample. It really help me much in my coding. But I got a question here. If my connection to database down or if I made a changes to UID/PWD, how can I by pass the SQL Server Login dialog box? I don't want that login box appear in my program because I already assign a string to indicate that connection is failed.
Thanks for your help.
FMansor
|
|
|
|
 |
|
 |
if you give the uid and pwd "ODBC;DSN=MyDb;UID=MyUser;PWD=MyPassword;") than the dialog shouldnt apper, if so use Database::OpenEx() methode to open the database
|
|
|
|
 |
|
 |
Hi,
Nice to see ur sample example and was very very useful to me. But as u said to include afxdb.h in Stdafx.h it gets error generated in Derived recordset (MyRecordSet.h> since we use the CRecordSet class there.
So we have to include the AfxDb.h wherever we use the CRecordSet and CDatabase class in the Project.
Pls reply Iam i Right?
Thanks for your Sample Help Program in web
|
|
|
|
 |
|
 |
Excellent article..I think MyRecordSet should be a pointer though. ie. CMyRecordSet *pMyRecordSet;
Simple way to solve this your problem is to put the
#include within the preprocessor #!ifdefined(AFX_STD_H_ETC_ETC) definition.
|
|
|
|
 |