Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12542

Re: Strongly typed Dbf-code

From Chris Pyrgas <"chris (at)"@xsharp.eu>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Strongly typed Dbf-code
Date 2019-06-24 23:22 +0300
Organization Aioe.org NNTP Server
Message-ID <qerba9$s13$1@gioia.aioe.org> (permalink)
References <ba809388-1e6a-48fe-8424-62a481f40cb2@googlegroups.com>

Show all headers | View raw


Hi Ben,

> I have recently ported my applications to 2.8Sp4b. When I change the structure of a dbf the code for the dbf is now strongly typed.
>
> This gives all kind of errors when executing the application: when a field changes the error indicates that a string is expected, which it is.
>
> What am I doing wrong?

Check your CAVO\Bin folder and open the file CAVOFED.TPL, as you will 
see this contains the template for code generation and it is using 
strongly typed code as you said. Here you can remove the strong typing, 
do a dummy change to your servers, save again and you should get the 
previous version of the code.

Alternatively, you will find another file, Cavofed_26.tpl, this contains 
I think the previous contents of that file, from previous VO versions 
(it contains more code to be generated actually). If you want, delete 
the other file and rename this one to CAVOFED.TPL.

hth,
Chris

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Strongly typed Dbf-code BenWoestenburg@ziggo.nl - 2019-06-19 01:52 -0700
  Re: Strongly typed Dbf-code Johan Nel <johan.nel@xsinet.co.za> - 2019-06-19 11:29 +0200
  Re: Strongly typed Dbf-code Chris Pyrgas <"chris (at)"@xsharp.eu> - 2019-06-24 23:22 +0300
    Re: Strongly typed Dbf-code BenWoestenburg@ziggo.nl - 2019-06-25 03:20 -0700

csiph-web