473,473 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

TYPE MISMATCH

DS
I have a field where the format is set to currency, However I want to
use a Calculator type Number Pad to Enter the Dollar Amounts in gthe
field. I have this part figured out but I keep getting a Type Mismatch
Error. Any suggestions? Thanks.
DS
Nov 13 '05 #1
4 1784
DS wrote:
I have a field where the format is set to currency, However I want to
use a Calculator type Number Pad to Enter the Dollar Amounts in gthe
field. I have this part figured out but I keep getting a Type Mismatch
Error. Any suggestions? Thanks.
DS


Let's say you have a line like
curVal = Calculator()
msgbox curVal

What is the value that is being returned from Calculator?

Nov 13 '05 #2
DS
Salad wrote:
DS wrote:
I have a field where the format is set to currency, However I want to
use a Calculator type Number Pad to Enter the Dollar Amounts in gthe
field. I have this part figured out but I keep getting a Type
Mismatch Error. Any suggestions? Thanks.
DS

Let's say you have a line like
curVal = Calculator()
msgbox curVal

What is the value that is being returned from Calculator?

Format(0,"0.#")
Nov 13 '05 #3
DS wrote:
Salad wrote:
DS wrote:
I have a field where the format is set to currency, However I want to
use a Calculator type Number Pad to Enter the Dollar Amounts in gthe
field. I have this part figured out but I keep getting a Type
Mismatch Error. Any suggestions? Thanks.
DS


Let's say you have a line like
curVal = Calculator()
msgbox curVal

What is the value that is being returned from Calculator?

Format(0,"0.#")


Format is a string. Are you then storing it to a Currency field?
Nov 13 '05 #4
DS
DS wrote:
Salad wrote:
DS wrote:
I have a field where the format is set to currency, However I want to
use a Calculator type Number Pad to Enter the Dollar Amounts in gthe
field. I have this part figured out but I keep getting a Type
Mismatch Error. Any suggestions? Thanks.
DS


Let's say you have a line like
curVal = Calculator()
msgbox curVal

What is the value that is being returned from Calculator?

Format(0,"0.#")

Got it Working, Thanks.
DS
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Wadhawan | last post by:
Hello MY SQL Server is causing me this problem : Microsoft VBScript runtime error '800a000d' Type mismatch: 'ident' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am getting from...
1
by: LJgrnl | last post by:
I've got a type mismatch error that's driving me nutty. Variable blnNoData has the initial value False. If a recordset comes back empty (both .EOF and ..BOF are true) then blnNoData is set to...
1
by: Mark | last post by:
Hi - I tried this in VS.Net, and also in the Web Matrix code below: - but I am getting a type mismatch error. The sql statement runs perfectly from within the Access Query Designer. Can anyone...
4
by: Mike | last post by:
I am getting a type mismatch error when I do a bulk insert. ---Begin Error Msg--- Server: Msg 4864, Level 16, State 1, Line 1 Bulk insert data conversion error (type mismatch) for row 1, column...
6
by: Howard Kaikow | last post by:
I'm doing a VB 6 project in which I am trying to protect against type mismatch errors. Is the process any different in VB .NET? Here's what I'm doing in VB 6. I have an ActiveX DLL. The...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.