Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pb when i insert a new attorney
Message
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Miscellaneous
Thread ID:
00719499
Message ID:
00726230
Views:
33
It's running fine here. A few possibilities (and I hope we solve it soon, I'm leaving on vacation Tuesday for 3 weeks with no computer <g>).

1. Are you using VFP or SQL Server as a database?
2. Are you using the VFP8 beta?

I'm using VFP7 and SQL Server with no issues. That's why I'm wondering.

yag

>>>Hello,
>>>
>>>When using a "Building Distributed Application using COMCodebook.doc"
>>>i have a problem when i save a new attorney, but other function is correct.
>>>when i browse a attorney table i see the attorney key id is empty.
>>>somebody have any idea for debugging?
>>>
>>>Thank you.
>>>
>>>Michel
>>
>>I was just researching the same problem. I am trying out the ComCodeBook and there Building Distributed Application using COMCodebook.doc. I get the same error when trying to run the application. Has any ComCodeBook people every solved this error? Is there a problem in the files attorney files downloaded or something else?
>
>On top of the blank Attorney_ID generated the asp pages generate the following:
>
>
>Error Type:
>Microsoft VBScript runtime (0x800A005E)
>Invalid use of Null: 'cStr'
>/ComCodeBookAttorneyApp/Attorney.asp, line 154
>
>
>Browser Type:
>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818; .NET CLR 1.0.3705)
>
>Page:
>POST 160 bytes to /ComCodeBookAttorneyApp/Attorney.asp
>
>POST Data:
>cmdAction=Save&lastname=Hobbs&firstname=Bret
>&firmname=NSWC&licensenumber=28b1298
>&address=Rt3+Box+297
>&city=Linton&state=IN
>&zip=47441&phone=8128546065
>&AttorneyID=
>
>Time:
>Friday, November 22, 2002, 10:10:41 AM
>
>
>More information:
>Microsoft Support
>
>
>
>Also I put in the code to generate a log entry if the GetPrimaryKey method was ever called and there is no log entry created. So it is not even asking to generate a Key for the new attorney record.
>
>Any help would be appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform