Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating Data from the Web
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00549219
Message ID:
00550713
Views:
25
Hi Kevin,

>Hmmm...if it works as a COM server within VFP, it should work from an ASP page. A couple things to check...do you have the classes.dbf and metadbc.dbf tables in the same directory as your DLL? Is MetaDBC pointing to the right directory?
>

Both tables are in the same directory as the DLL. MetaDBC is point to the correct directory, because I'm able to query the data. I just can't update it. Should I also set the cremotedbc field of metadbc.dbf?

>Check the lError flag (and use the GetError() method to retrieve any error) after saving the record to see if the business object encountered any errors. If everything looks OK, try placing STRTOFILE() commands in your business objects to determine what´s going on. You may want to tell STRTOFILE() write to a specific directory--one in which you know you have write permissions.
>

I've been only checking the return value from the Save() method. I just checked lError and GetError() and received the following error:

*********
Date/Time: 08/29/01 10:40:58 PM
Error No: 1426
Object: ov_person
Method: convertobject
Line No: 38
Message: OLE error code 0xPARENT.SELECT * FROM odsweb!person WHERE Person.personid = liPersonID into cursor Viewcalv92
Code: SELECT * FROM odsweb!person WHERE Person.personid = liPersonID into cursor Viewcalv92
Calling Chain:
PROCEDURE PERSONENVIRONMENT.OV_PERSON.ERROR C:\MMORTALS\COMMON30\LIBS\CDATAENV.VCT
*********

Does this mean that the cursor object can't convert the ADO recordset back to a cursor?

Thanks for your help. --Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform