473,395 Members | 2,079 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,395 software developers and data experts.

Problem with column in continuous form view

RLN
re: Access 2003

I have a field called SentByMethod the displays a 'zero', '1' or '2'.
I am trying to set up a text field that shows "Sent by X" if it's 0,
"Sent by Y" if it's 1, and "Sent by Z" if it's 2. I can get this to
work in single form mode (fields on the form)

How do I get this same thing to work when the form is in "continuous
form" view mode? (when row 1 has a SentByMethod of 0, row 2 has
"SentByMethod of 1....etc The text box needs to indicate the proper
SentByMethod.

Thanks.

Sep 15 '08 #1
4 2845
RLN wrote:
re: Access 2003

I have a field called SentByMethod the displays a 'zero', '1' or '2'.
I am trying to set up a text field that shows "Sent by X" if it's 0,
"Sent by Y" if it's 1, and "Sent by Z" if it's 2. I can get this to
work in single form mode (fields on the form)

How do I get this same thing to work when the form is in "continuous
form" view mode? (when row 1 has a SentByMethod of 0, row 2 has
"SentByMethod of 1....etc The text box needs to indicate the proper
SentByMethod.

Thanks.
I'd write a function.
Sep 15 '08 #2
Dunno if a change in display control is doable for you... but as the
count of variables is only 3, a combo-box may be a quick & dirty fix?
Create the combo box on the continuous forms form, then open its
Properties window

On the DATA tab:
Bind it to the SentByMethod Field
Change Row Source Type to Value List
Set value list to read: 0;SentByX;1;SentByY;2;SentByZ

On the FORMAT Tab:
change column count to 2
Set column widths to read: 0,1 (assumes columns in inches, We use cm
here in Aus.. so it'd be 0,2.5...but you get the picture..)

Like I say, Quick & Dirty but should do the trick without requiring a
whole bunch of code...

Dave
RLN wrote:
re: Access 2003

I have a field called SentByMethod the displays a 'zero', '1' or '2'.
I am trying to set up a text field that shows "Sent by X" if it's 0,
"Sent by Y" if it's 1, and "Sent by Z" if it's 2. I can get this to
work in single form mode (fields on the form)

How do I get this same thing to work when the form is in "continuous
form" view mode? (when row 1 has a SentByMethod of 0, row 2 has
"SentByMethod of 1....etc The text box needs to indicate the proper
SentByMethod.

Thanks.
Sep 16 '08 #3
As long as ***both*** fields are ***bound*** to the underlying table it
doesn't matter whether the form is continuous or not, simply use the same
code you used on the Single View form. If the textbox to display Shipped by X,
etc, is ***not bound*** to a field in the underlying table, you can't do it
at all. A hack such as Dave suggested would be your only choice, I'd think.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200809/1

Sep 16 '08 #4
RLN
This worked nicely, Dave, thank you very much.

RLN
Sep 17 '08 #5

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

Similar topics

3
by: Prakash Wadhwani | last post by:
Is there any EASY way to highlight a full row in a continuous form so that as i navigate up & down the table/continuous form using the arrow keys, the entire line (all fields) get highlighted ? ...
3
by: Mark | last post by:
Hi there, I have a subform, set as a continuous form. When a user selects a particular record in that subform, how can I make that particular record stand out (color or font change, size, etc) from...
6
by: William Bradley | last post by:
I have a production table and its accompanying form. There can be up to ten ingredients in what is produced. The ingredients are obtained from the incoming goods table which supplies the two...
4
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the...
3
by: David | last post by:
Hi, I need a button shown for each record (cont. form) with specific captions on each. I have a notes form for each record. When a user presses the button they can read the notes. I want to...
6
by: Rose | last post by:
I have set my form's default view property to continuous forms and have added a field for the table columns I wish to view. What do I need to do to allow more than one record to show at the same...
10
by: Ken | last post by:
I have a form, that when I open it, it shows all items that are due for inspection in the current month and that is overdue. This is shown in continuous view and it has a column that shows overdue...
9
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a...
2
by: Ch Pravin | last post by:
Hi All: I am having the following xml which i need to convert to excel using xslt. Please help me out. Afghanistan.xml <?xml version="1.0" encoding="utf-16"?> <Languages...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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.