Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Passing parameter from text field in vb6 to crystal report 8.5

Posted on 2009-05-10
1
Medium Priority
?
1,464 Views
Last Modified: 2012-05-06
Dear Experts,
I have a report generated to create invoices. I need to take in parameters from text fields in vb6 to that report. I encountered a problem when I try to pass the value in a text field containing the prices for the items. I set up the fields in crystal to be currency but whenever i pass the value of my text field in my vb6, it will come up with strange values. (eg, when the value of my text box is 100,000, crystal will only show 100,00). I tried passing my textbox value using
val(textbox.text) in vb6 but if i use this, crystal won't accept it. Any ideas experts?

thank you...
btw, im using CR8.5
0
Comment
Question by:Slythie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
nirojexpert earned 375 total points
ID: 24351378
canyou try to send without any formatting for the number. can you also try declaring the variable as single/double and then pass the varaible.
also verify that the datatype supports the precision level. maybe you defined the database field as number(4) and you are trying to pass a value that is number(5).
 
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

671 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question