Bound Checkbox

Aug 23, 2005

Hi everyone, I have a bound checkbox on a continuous form and I want the user to be able to select only one checkbox at a time. At the moment they can select as many as they like which is not what I want. Anyone know how to do this?

Thanks for any help

View Replies


ADVERTISEMENT

Queries :: Can Add Checkbox To A Query That Is Not Bound To Table?

Aug 31, 2014

I have some VBA code that generates a query and saves it. The query is a list of people who will be sent a communication along with the formatting for the communication. After producing the query I want to look through it and decide if there is anyone I don't want to send the communication to. I can't delete records from the query without deleting them from the database or I would simply do this.

I thought I could add a checkbox in the query that I can tick to stop a communication being sent to that person. I only want the setting saved within the query and then when I have finished it be deleted along with the query.

View 5 Replies View Related

Bound A Form

Oct 13, 2006

I have a unbound form in my data base now i want to bound it to a table in the database .
how to do it

View 2 Replies View Related

Adding (All) To A Bound Combo Box

May 24, 2005

Hello,

I have a bound combo box on a form. The selections alow a subform to refresh limiting records to the bound combo box. I have been on the web a lot looking for a way to enable multi list selection or all on a combo box. None of these have worked for me. The selection combo box is a simple Yes or No. I would like to add all and have it return both types of records.

This is the sytax I have in the row source property for my combo box.

SELECT [Sales Master].[Accounting Comp Flag] FROM [Sales Master] UNION Select "All" FROM [Sales Master] GROUP BY [Sales Master].[Accounting Comp Flag];

This code allows the combo box to have an all selection but it does not retrieve any records.

If someone can find my mistake that would be great! Thanks!

View 7 Replies View Related

Bound And Unbound Textboxes

Jan 19, 2006

hey all i was wondering, can a unbound text box be a bound textbox. I have just noticed that my unbound text box doesnt not save in the field in my table, that is because it is unboune right? but i need it to save to my table, and i guees the only way to do that is to save in in the save button right? thanks

View 2 Replies View Related

Bound And Unbound Textboxes

Jan 19, 2006

hey all i was wondering, can a unbound text box be a bound textbox. I have just noticed that my unbound text box doesnt not save in the field in my table, that is because it is unboune right? but i need it to save to my table, and i guees the only way to do that is to save in in the save button right? thanks

View 9 Replies View Related

Bound Forms Novice

Jun 4, 2007

In the interest of speed in my current project, I'm working with bound forms, where in the past I have developed mainly using unbound forms. Hence, the word novice in my subject line.

Is there a way to do the following, and is it typically done?

The layout: A typical, record by record data entry main form, with a linked datasheet subform. The underlying query contains person's names and other associated data. The subform is a datasheet with an alphabetical listing of the person's names.

My goals (2 of them):
1. To have the datasheet subform go to the record selected on the main form.
2. To have the main form also go to the record selected in the subform.

The forms' On Current events conflicting with one another, as the subform's Current event fires whenever the main form's does.

View 7 Replies View Related

Still Struggling With Bound Forms

Jun 22, 2007

Can someone help, please?

I have a simple form to add a new record.

Form is
Single
Bound
DataSource is a simple select query which includes all records in a table.

All I want to do is validate what is typed into the textbox.

I have the following code in the BeforeUpdate Event of txtTest:
Private Sub txtTest_BeforeUpdate(Cancel As Integer)
If Me.txtTest = "Test" Then
Cancel = vbCancel
Me.txtTest.Undo
End If
End Sub

It works fine on an Edit but when I type "Test" into a new record and try to move or save I get the error: The value in the field or record violates the validation rule blah blah BLAH.

Why doesn't vbCancel kill this nonsense?

View 14 Replies View Related

Text Box Bound To A Combo Box

Jan 24, 2005

Hi,

This one is really confusing me!

I have a text box on a form that is bound to a field in a table that is populated by a combo box coded into the table whose data source is a select query.

Everything looks fine in the table, but when I display the data on the form it is displaying a different field of the source select query than the one displayed on the table.

Why is this, and how can I fix it?

View 1 Replies View Related

Not Sure If To Bound Form To Table

Feb 6, 2005

I have a database that has student table (I am not a student doing an assessment!) with a one to many relationship to coursebooking and then a course table that has a one to many relationship with the coursebooking table so coursebooking seems to be acting as the link table between the many to many relationship. (I didnt design it).

I am creating forms to make the booking process faster and to perform the correct sums to produce an invoice and update a financial transactions table along the line.

I have an entry form that creates the student, and then other forms synchronise to the master form and gather the data. I am now at the point of wanting to get product details so ex course A, taxi to school and enrolment fee and add these to the booking table.

Historically the process was messy and couldnt calculate course A cost (per week) times by number of weeks.

I want to be able to select the products from a combo to build up an invoice and then once acknowledged as details correct commit to the tables coursebooking and transaction table.

I am not sure how best to achieve this ie is it best to have a bound form to the booking table and add new records to it line by line or to use an unbound form and some kind of product picker and to see the products built up perhaps using vba and storing products in an array until ready to post.

Some advice would be most welcome.

regards
Peter


:eek:

View 1 Replies View Related

Question Abt Bound Forms

Sep 16, 2005

Hi All,

I have a main bound form which has tabs.On some tabs i m calling the subforms which are also bound forms.

I am facing a problem in which access automatically saves the data eevn if u dont want to save it.In my subforms i have save button to save the data ..i am also doing some validations there

but if the user is filling some information and then he hits the another tab the data gets stored automatically.

is there any event for the form where i can undo if the user has entered some data..

my subforms are continous forms.

Thanks to all for their help.

View 3 Replies View Related

Bound To Unknown Field

Oct 17, 2005

Hi,

Have two controls GroupID and Shift which are linked with Criteria:

SELECT tblShifts.Shift, tblShifts.GroupID
FROM tblShifts
WHERE (((tblShifts.GroupID)=[Forms]![fmPersonalDetails]![GroupID]));

Have two other controls which are Position and Grade with same type of link.

Problem is When I try to edit the Shift control an error message comes up saying 'cannot edit bound to unknown field 'Shift'.

Have checked each of the property fields with the Position and Grade controls and are the same. Spelling is the same in the table. Are there any other obvious things I should be looking at because I'm pretty new to this and cannot find the solution.

Would be grateful for some input/suggestions.

View 8 Replies View Related

Control Bound To Field

Nov 25, 2005

In my Textbox Control source I have given a formula =[Product Price]+[Delivery Costs].
I would like to provide an option to ther user to overwrite this Textbox (Should able to input a value).
When I try to edit the calculated value on the form, I get a message "Control cannot be edited, bound to expression". What can I do?

View 6 Replies View Related

How Do I Make A Bound Form.

Feb 14, 2006

I have a form that has a subform in it. I want the key field in the form to dictate what fields show up on the subform. When I try to set the Link child and master fields, I get a 'can't build a link between unbound forms'. How do I make this subform bound to the form????

Thanks, JOe

View 3 Replies View Related

Bound/Unbound Forms

Mar 24, 2006

Please help,

I have a form with a subform in it. The main form has a combobox, called vendor. The subform shows all software.

When i select a vendor, i want only the software for that vendor to show in the subform.
What I am trying to do is set up the link child fields and link master fields so that this works. However, i am getting an error saying, 'Can't build a link between unbound forms'.

I have checked to make sure that relationships exist between the vendors and Software tables but the problems persist.

What should i do here???

View 1 Replies View Related

Update Bound Textbox ?

Sep 7, 2006

I need to have 2 textboxe son my form that are directly linked to data in a DB so that the user can type values in directly.
Unfortunately, the data for these 2 textboxes is completely separate from the main form's recordsource.

Is it possible to do this using an expression? I've tried but it only retrieves the data rather than allows you to update it.
If not, then will I have to do this through VBA code?

View 2 Replies View Related

Bound/unbound Forms ?

Sep 27, 2006

Hi all,

My current database (built with a lot of help and sample code form this site..thankyou to all for their advice) tracks the escalations we receive into the business but as we have used it more and more I have started experiencing a massive performance issue.

I basically have a main table that captures the basic details, reference, product, escalation source, escalation reason etc, and these are captured from combo box selections (so only capturing the id numebr of the row in the combo box)

My main problem seems to be a table I have that we have linked, via the unique escalationID, that we cna add notes for each escalation.

So for instance a particular escalations can 1 or 50 notes (or more) depending on the work involved to resolve.

This table now has thousands of entries and is about 10Mb on it;s own.
It seems that when I open my bound forms the query is having to scan not only the main table, but also all of the notes in the journal table.

My question is,

Would I be better to -
1 - Use unbound forms and pull the data via a recordset call or
2 - could I use a query that captures everything for only the open escalations and then have my main form query that query or
3 - have the form load but do not link the journal table and have the form pull the data in seperately ?

Hope that makes sense and appreciate any help on this one.

MattP

View 6 Replies View Related

Calculating Bound Fields

Oct 3, 2006

I have a table for invoices that need to show Nett, VAT & Total. I have set up a form and have included a calculation on both VAT (Nett*17.5/100) and Total (Nett+VAT) which works well in the form. Because these calculations are in the ControlSource, I do not know how to have these fields bound to the original table.

Am I missing something really obvious???

View 1 Replies View Related

Using A Non Bound Column In A Combo Box

Nov 9, 2004

I have a combo box that has two columns, the second one is bound.

Is there any way to reference the 1st column (the unbound one).

What I actually want to do is have the 1st column show up as a status line message or as a quick help message when the combo text is mouse_overed. The problem is the combo box field is a date that is unique 99 % of the time but in that one percent the user needs to see the beginning of the 2nd column ( think of a persons doctors appointments, where one percent of the time a individual needs to visit the same doctor twice in one day , in which case the procedure and the date becomes the selection criteria (but I don't want to show the procedure and the date in the combo box because the procedure is so darn long.)

Confusing enough?

Any ideas?

Thanks

View 1 Replies View Related

Bound Combo Box Query

Oct 13, 2006

If I want to be able to save new data to a field from a combo box, what code do I need.

I found the code below which said it was for an unbound combo box. Not sure what to change. I've set it as my event procedure for "On Not In List" and the query runs ok but nothing else seems to happen. Thats while I have nothing in the control source.

If I amend control source to be the field I want, (which is the same as what I already have in the row source, then it won't let me select anything from the combo box drop down at all.

Not sure what to do? Any ideas please??

Private Sub Combolook_NotInList(NewData As String, _
Response As Integer)
Dim ctl As Control

' Return Control object that points to combo box.
Set ctl = Me!Combolook
' Prompt user to verify they wish to add new value.
If MsgBox("Value is not in list. Add it?", _
vbOKCancel) = vbOK Then
' Set Response argument to indicate that data
' is being added.
Response = acDataErrAdded
' Add string in NewData argument to row source.
ctl.RowSource = ctl.RowSource & ";" & NewData
Else
' If user chooses Cancel, suppress error message
' and undo changes.
Response = acDataErrContinue
ctl.Undo
End If
End Sub

View 2 Replies View Related

Bound Reports Crashing DB

Dec 1, 2007

I've redeveloped my DB so that all forms are unbound. I did this due to a multiuser environemt of 30 or more users.

I left all reports bound because there were fewer than 10 concurrent users running them at any one time.

But... I'm finding the DB crashes when a second user runs the same report concurrently. Maybe its data binding overload?? Would setting the underlying query recordset type to snapshop overcome the problem??

I appreciate any ideas

View 6 Replies View Related

Same Field Names For Bound Controls

Jul 14, 2005

is there any problem with fields in differnent tables that have a field name that's the same? My concern is the control source for a bound control. Access can keep track of this if a few of these similar field names are on the same form and bound?

scratch

View 3 Replies View Related

Quey Producing Out Of Bound Results

Apr 6, 2006

Hi all,

I am performing the following query using an ADO connection from Excel;


SELECT [Date], SUM([Batch Qty]) As [Batch] FROM [Speed Fastener Packing] WHERE ([Date] BETWEEN #03/04/2006# AND #05/04/2006#) GROUP BY [Date] ORDER BY [Date]


When I execute this statement in Access it generates The following;

Date Batch
04/03/20063463000
06/03/20062747000
07/03/20062738000
08/03/20063867000
09/03/20064970000
10/03/20066235000
11/03/2006757000
13/03/20062170000
14/03/20063864000
15/03/20066929000
16/03/20063342000
17/03/20067017000
18/03/20063440000
20/03/2006985000
21/03/20064330000
22/03/20067578000
23/03/20064367000
24/03/20065003000
27/03/20063726000
28/03/20064383000
29/03/20066367000
30/03/20064358000
31/03/20064840000
01/04/20063136000
03/04/20061102000
04/04/20063000000
05/04/20065724000
06/04/20061687000

Why is the statement returning results that are not between the dates specified?? The [Date] field in the Db is in format Date/Time Short Date dd/mm/yyyy.

Dont have a clue what I'm doing wrong! TIA, any ideas appreciated!

View 2 Replies View Related

How Can I Compare Fields With 2 Bound Columns

Aug 9, 2005

Hello..

In one of my tables I have a field with the following characteristics:

Listbox
row source: SELECT Category.CategoryID, Category.Category FROM Category ORDER BY Category.CategoryID;
row source type: table/query
bound column:2
column count: 2

This gives the user the opportunity to see the category as well as the categoryID when choosing, however once selected only the CategoryID (which is a number) is visible.

I would like to put the same option on one of my forms, but Im not succeeding at this. How can I do this? Is this possible?

This leads me to my next question: If I want to load the information from the form and compare it in VBA with the one from the table, is it seen as a number or a string?
I hope it is clear..
Any thoughts on how to deal with this??
Thank u..
Stacey

View 8 Replies View Related

OLE Bound Ojects In MS Access 2000

Nov 2, 2005

Okay, I have read some of the other threads and I am not really able to follow what needs to be done.

I have a file of product images located on my harddrive, and I would like to have the images displayed in their respective record. However, the image only displays an icon stating the image name.

Also, is there a max size the image can be to display in the DB?

Any help would be GREATLY appreciated, as this is the easiest way I have to track my data before sending to my commerce site.

Best Regards,

Irish :confused:

View 6 Replies View Related

AfterUpdate Or OnChange For A Bound Textbox

Jun 1, 2006

Hi there,

I'd like to call a function when a bound textbox is updated and for some reasons it doesn't seem to work. It works when the textbox is unbound (or maybe I missed something)
Here is a very simplified version of the form:
http://img207.imageshack.us/img207/3618/apf4ax.jpg

MyFunction() is just a MsgBox for now and I'd like it to appear when the textbox in the main form is updated (i.e. when the text in the subform is updated). I set .AfterUpdate= "=MyFunction()" and .OnChange="=MyFunction()" but nothing happens.
(see attached code)

Thank you in advance !

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved