CRecordset not writing record nor giving errors on some XP Build 5.1 SP2

CRecordset not writing record nor giving errors on some XP Build 5.1 SP2

Post by robdob200 » Sat, 01 Oct 2005 20:19:14


Hi,

I have a VC7++ VS2003 program that uses CRecordSet to write one record to a
SQLAnywhere database via ODBC, a Code Sniplet is contained below, on most
machine running the same OS and Build it works flawlessly, however on this
one XP Build 5.1 SP@ machine it never ends up writing the record. Nor does
it give any errors. Can someone please help with letting me know how to
resolve this.

Also I tried creating a program in c# using ODBCDataAdapter and was able to
write records to this database..

Is there also anyway that I can get the ODBC driver to maybe write a log as
to what is going on?, I'm assuming it might have something to do with
permissions...



MY VC7 VS2003 code sniplet below is this:

CRecsetTemplates* pRST2 = new CRecsetTemplates( m_pdatabase );

pRST2->Open();

pRST2->AddNew();

pRST2->m_TemplateName = "TEST TEMPLATE!!!!";

pRST2->m_TemplateID = oTemplates.m_Page2.m_templateid;

pRST2->Update();

pRST2->Close();

delete pRST2;
 
 
 

1. CRecordset not writing record nor giving errors on some XP Build 5.1 SP2

2. CRecordset IS not working or throwing Exception on some Win XP Build 5.1 SP2 machine

Hi,

I have a VC7++ VS2003 program that uses CRecordSet to write one record to a
SQLAnywhere database via ODBC, a Code Sniplet is contained below, on most
machine running the same OS and Build it works flawlessly, however on this
one XP Build 5.1 SP@ machine it never ends up writing the record. Nor does
it give any errors. Can someone please help with letting me know how to
resolve this. Also I tried creating a program in c# using ODBCDataAdapter
and was able to write records to this database..

MY VC7 VS2003 code sniplet below is this:

CRecsetTemplates* pRST2 = new CRecsetTemplates( m_pdatabase );

pRST2->Open();

pRST2->AddNew();

pRST2->m_TemplateName = "TEST TEMPLATE!!!!";

pRST2->m_TemplateID = oTemplates.m_Page2.m_templateid;

pRST2->Update();

pRST2->Close();

delete pRST2;

3. IIS 5.1 XP prof SP2 installing ftp service Error ftpmib.dll not fo

4. IIS 5.1 XP prof SP2 installing ftp service Error ftpmib.dll not found

5. File WRITE permissions in IIS 5.1/XP SP2

6. IIS 5.1 will not run asp after xp sp2 install?

7. IIS 5.1 XP prof SP2 installing ftp service Error ftpmib.dll no

8. Webdav on xp pro sp2 with iis 5.1 not working for Hello World example

9. MDB file not opening nor giving error msg

10. ASP Runtime errors not being displayed on IIS 5.1 Windows XP

11. "Class not found" Error Message In ASP Pages IIS 5.1 Turkish On XP Pro Turkish

12. XP SP2 Error - memory could not be "written" with explorer.exe