pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Hutto <bill@hammondgroves.com>
To: pgsql-interfaces@postgresql.org
Subject: Money type mapping to VB5 Jet workspace
Date: Thu, 31 Dec 1998 15:16:59 +0000
Message-ID: <199812312011.PAA126708@onondaga.gate.net> (raw)

Hi,
	I'm having problems with the mapping of the money type to an 
appropriate type in Visual Basic 5.0. Presently, it is coming across 
as type float8, and if that were acceptable to me, it isn't when I 
update, because I get an error '524':

 parser: attribute 'amount'  is of type 'money' but expression is of 
type 'float8' 
You will need to rewrite or cast the expression.

I can successfully update only with an ODBC direct workspace, where I 
can add single quotes around the value. I would prefer to be able to 
use the Jet workspace, however, as well as data bound controls.
Is it possible to have it map to the currency data type?

Thanks,
Bill




view thread (3+ messages)  latest in thread

Message-ID: <199812312011.PAA126708@onondaga.gate.net>
Permalink:  ../199812312011.PAA126708@onondaga.gate.net/
Also on:    postgresql.org/message-id/199812312011.PAA126708@onondaga.gate.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: bill@hammondgroves.com
  Subject: Re: Money type mapping to VB5 Jet workspace
  In-Reply-To: <199812312011.PAA126708@onondaga.gate.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox