473,396 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Program in report datasource

kai
Hi,
I try to fill out a textbox value programmaticlly in the datasourse. I
have two textboxs on the report, one "score" textbox connect to table
"score" field, other "grade" is just a textbox.

When the repoert is open, the value in the "grade'' box base one the "score"
value,

score grade
90 A
80 B
70 C

But in the data source window, I cannot program, where should I do it?
Thanks
Kai
Nov 13 '05 #1
2 1751
If you can do it with an expression, in the ControlSource for the calculated
text box. If you can't, create a function and specifiy the function in the
ControlSource.

Larry Linson
Microsoft Access MVP

"kai" <ka******@earthlink.net> wrote in message
news:M8******************@newsread1.news.pas.earth link.net...
Hi,
I try to fill out a textbox value programmaticlly in the datasourse. I
have two textboxs on the report, one "score" textbox connect to table
"score" field, other "grade" is just a textbox.

When the repoert is open, the value in the "grade'' box base one the "score" value,

score grade
90 A
80 B
70 C

But in the data source window, I cannot program, where should I do it?
Thanks
Kai

Nov 13 '05 #2
"kai" <ka******@earthlink.net> wrote in message news:<M8******************@newsread1.news.pas.eart hlink.net>...
Hi,
I try to fill out a textbox value programmaticlly in the datasourse. I
have two textboxs on the report, one "score" textbox connect to table
"score" field, other "grade" is just a textbox.

When the repoert is open, the value in the "grade'' box base one the "score"
value,

score grade
90 A
80 B
70 C

But in the data source window, I cannot program, where should I do it?
Thanks


Of course, you could base your report on a query and then just drop in
the calculated values...

Kai

Nov 13 '05 #3

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

Similar topics

3
by: Edward | last post by:
ACCESS 2k I need to design a report based on a rota system for staff at various shops. The data is effectively stored in a single table, along the lines of: Initials (e.g. BH, FG, RM etc.)...
6
by: vickie | last post by:
I have a sql server7 database using C#. The system runs fine until the user try to run a report. I get the following error: Object reference not set to an instance of an object. Description: An...
12
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission...
3
by: FeveZ | last post by:
I've been stuck on a problem now for ages and i'm about ready to pack my project in because of it lol. OK here is my scenario. I have an existing Crystal Report, which I have added to my...
1
by: Pieter | last post by:
Hi, I'm using VB.NET 2005 with a Local Report, and I used an Object as DataSource. The problem is: this Objects contains a Generic List (MyArticles, Inherist from BindingList), which contains...
2
by: William LaMartin | last post by:
I have report based on a datasource (a tableadapter) that supplies names, street addresses, cities, etc. to be displayed in a report viewer. Is there a way in code to modify this report to only...
2
by: Gene | last post by:
In the WinForm you can select an Object as a datasource for Report. I can not find such options in Report datasource in web forms. Can reports in ASP.net project have objects such as iList as...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
2
by: Screaming Eagles 101 | last post by:
And if it's possible, how can I do this please ? -- Filip http://www.ww2airborne.net/ Official Site of the 101st Airborne - 463rd PFA skype: airborne463pfa-fiwi ...
1
by: Jassim Rahma | last post by:
anyone has a code sample to connect the Microsoft Report Viewer Control using Microsoft SQL Server stored procedure?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...

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.