Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.clipper.visual-objects

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-08-2011, 12:44 AM
Grant
Guest
 
Posts: n/a
Default Error after recreating Servers

I had a repository crash and had to reinstall CAVO2.8. I've reimported
my project files but now get an error I don't understand.
"Customer:Name is not compatible with DBSERVER:NAME (check argument
and /or return value) 51447"
This is happening for 1 field in each data server that I created. I've
looked at the arguments and don't see any problem. Could it be an
environment or repository problem? Any help would be appreciated.
Thank you
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 11-08-2011, 09:21 AM
Johan Nel
Guest
 
Posts: n/a
Default Re: Error after recreating Servers

Grant,

Some time since I played with DBF.

Could it be that :Name is a reserved property of DbServer? Hence you
should not use NAME for column names...

What if you try Customer:FieldGet(#Name)?

HTH,

Johan Nel
Pretoria, South Africa.

On Nov 8, 3:44*am, Grant <gra...@dunsmoreinfo.com> wrote:
> I had a repository crash and had to reinstall CAVO2.8. I've reimported
> my project files but now get an error I don't understand.
> "Customer:Name is not compatible with DBSERVER:NAME (check argument
> and /or return value) 51447"
> This is happening for 1 field in each data server that I created. I've
> looked at the arguments and don't see any problem. Could it be an
> environment or repository problem? Any help would be appreciated.
> Thank you


Reply With Quote
  #3 (permalink)  
Old 11-08-2011, 12:03 PM
Willie Moore
Guest
 
Posts: n/a
Default Re: Error after recreating Servers

Grant,

As Johan indicated, Name is an access of the datasetver class. If you have a
column named "name", you will have to get it via fieldget instead of
oServer:Name. If you were in Vulcan, you could just go oServer:@@name but I
don’t think that they @@ has made its way into the production build of VO.

Regards,
Willie

"Grant" wrote in message
news:9cf19d59-d0ce-400b-bdba-8f822531b362@z15g2000prn.googlegroups.com...

I had a repository crash and had to reinstall CAVO2.8. I've reimported
my project files but now get an error I don't understand.
"Customer:Name is not compatible with DBSERVER:NAME (check argument
and /or return value) 51447"
This is happening for 1 field in each data server that I created. I've
looked at the arguments and don't see any problem. Could it be an
environment or repository problem? Any help would be appreciated.
Thank you

Reply With Quote
  #4 (permalink)  
Old 11-08-2011, 12:57 PM
Carlos Rocha
Guest
 
Posts: n/a
Default Re: Error after recreating Servers

@@ may be used in VO too (2837)

Carlos


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 111106-2, 06-11-2011
Tested on: 08-11-2011 13:57:41
avast! - copyright (c) 1988-2011 AVAST Software.
http://www.avast.com



Reply With Quote
  #5 (permalink)  
Old 11-08-2011, 06:52 PM
Grant
Guest
 
Posts: n/a
Default Re: Error after recreating Servers

On Nov 8, 5:57*am, Carlos Rocha <carlos.ro...@doossier.com.removethis>
wrote:
> @@ may be used in VO too (2837)
>
> Carlos
>
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 111106-2, 06-11-2011
> Tested on: 08-11-2011 13:57:41
> avast! - copyright (c) 1988-2011 AVAST Software.http://www.avast.com


Right. The use of the field name 'NAME' and column name 'NAME' caused
the problem because I guess it is a reserved word for VO. I have gone
to my data files and renamed all 'NAME' fields to CustName, SuppName,
etc. Now I am modifying the windows and browsers to match. Another
name that causes the same problem is 'DRIVER'.
Allways learning. Thanks for your help.
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 05:22 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.