If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Data entry into table field.
You are of course absolutrly correct, but I did so because the down arrow to
which you refer simply shows an empty box and so there is nothing from which to choose. (I am reading the form and report design right now, interestings tips there, but the TRIM (command?) didn't work. I am trying to show a concatenated field of 2 numbers but there is always a space, even after I left justified the right hand (or second) number. I am very grateful for all your help, please don't give up on me. Thanks very much. -F "strive4peace" wrote: that means you used an equation as the Controlsource -- not the name of a field. In the controlsource property, make a choice from the list (note the arrow on the right when you click in that property) Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: after adding the controlsource I cannot choose antry from the combobox it says "can't be edited it is bound to the expression ....etc." "strive4peace" wrote: the ControlSource is the field name (from the form RecordSource) that the combo is bound to "How do I link the form data to the table once it is made" put the table name in the form RecordSource to create a new record, click the [*] button in the lower left corner of the screen where the navigation buttons are Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: How does the data chosen from a drop-down list or combo box get entered into the table field? How is it linked to the record as opposed to (or in addition to) the combo-box? I appear to have worked in reverse in that I created a Form to enter data from a combo-box, but don't yet have the place to store the chosen data. How do I link the form data to the table once it is made, please? Since the data will be new how does it create a new record for that data? Thanks in advance for any help you may provide. -F |
#12
|
|||
|
|||
Data entry into table field.
Thanks John, I am becoming increasingly aware of that and agrre entirely, but
I have what I have now, and am attempting to salvage both my work and my dignity, what little is left, of course. I know what I wish to do but I am in the unfortunate situation of having to work backwards. Fortunately the windows and doors are suspended in cyberspace until I build the frame around them. They are good doors and windows but I don't wish to drop them and have to rebuild them when they are already done. My house was easier to build but I was doing it for me and had the luxury of time, not so in this case. It is a steep learning curve but not impossible thanks to this great web resource and people like yourself and Crystal. I only hope I can be as helpful in the future to others. "John W. Vinson" wrote: On Mon, 12 Jan 2009 17:21:02 -0800, FBrnstrmr wrote: How do I link the form data to the table once it is made, please? Since the data will be new how does it create a new record for that data? STOP. Read Crystal's tutorials. You're going about this backwards; Tables are the foundation of the house, Forms are the windows and windowframes. You don't start assembling the windows and windowframes into the house and then start thinking about where to pour the foundation! -- John W. Vinson [MVP] |
#13
|
|||
|
|||
Data entry into table field.
Hi F (what is your name?)
"simply shows an empty box" you must assign the form RecordSource first ... then you will see the fields in the Recordsource when you drop the combobox for ControlSource smile ~~~ Trim will work -- but any valid equation must start with = if you use an equation, you cannot change the information, it will be for display only Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: You are of course absolutrly correct, but I did so because the down arrow to which you refer simply shows an empty box and so there is nothing from which to choose. (I am reading the form and report design right now, interestings tips there, but the TRIM (command?) didn't work. I am trying to show a concatenated field of 2 numbers but there is always a space, even after I left justified the right hand (or second) number. I am very grateful for all your help, please don't give up on me. Thanks very much. -F |
#14
|
|||
|
|||
Data entry into table field.
"strive4peace" wrote: Hi F (what is your name?) "simply shows an empty box" you must assign the form RecordSource first ... then you will see the fields in the Recordsource when you drop the combobox for ControlSource My form has numerous controls each with its own source line but how do I assign a source to the total form, I tried but seem to have missed that soemwhere. I am still reading. chaGRIN smile ~~~ Trim will work -- but any valid equation must start with = if you use an equation, you cannot change the information, it will be Me.txtBuildID = Trim(Me.cboAddress.Column(5) & Me.cboAddress.Column(6)) for display only Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: You are of course absolutrly correct, but I did so because the down arrow to which you refer simply shows an empty box and so there is nothing from which to choose. (I am reading the form and report design right now, interestings tips there, but the TRIM (command?) didn't work. I am trying to show a concatenated field of 2 numbers but there is always a space, even after I left justified the right hand (or second) number. I am very grateful for all your help, please don't give up on me. Thanks very much. -F |
#15
|
|||
|
|||
Data entry into table field.
"strive4peace" wrote: Hi F (what is your name?) Sorry I forgot this question--- Fred (yes it really is) and I just found out where to assign the control source to the form. Hidden in the top left corner just as you described it. But... my form uses data from multiple tables as sources to coordinate the address, combobox, dropdown lists, and another cascading combobox requirements that I need for my new database records. can there be more than control source and/or I also need the table to which this info will be outputted.ie: my input table of addresses is larger than I need for my own table, but it is continually being updated by an external group. The table I am trying to create or "fill" is more of a timebased snapshot of info regarding some of these locations. As owners change for example the imported data will reflect that and my table will have to note the change from then on but not change the historic record from the previous owners name. So in short, I need mutliple records of the same address while the date, ownership and other info regardig the address changes. That is why I have been building backwards, I started with an externally updated database table in which I can make no changes and need to create another for internal use with the info gleaned from the first plus any information we require to track as well. "simply shows an empty box" you must assign the form RecordSource first ... then you will see the fields in the Recordsource when you drop the combobox for ControlSource smile ~~~ Trim will work -- but any valid equation must start with = if you use an equation, you cannot change the information, it will be for display only Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: You are of course absolutrly correct, but I did so because the down arrow to which you refer simply shows an empty box and so there is nothing from which to choose. (I am reading the form and report design right now, interestings tips there, but the TRIM (command?) didn't work. I am trying to show a concatenated field of 2 numbers but there is always a space, even after I left justified the right hand (or second) number. I am very grateful for all your help, please don't give up on me. Thanks very much. -F |
#16
|
|||
|
|||
Data entry into table field.
Hi Fred,
glad you found the RECORD SOURCE property you can only have one RecordSource for a form -- that is why it is advisable to use a main form and subforms if you wish to display and edit data from multiple tables. p 5-24: Mainform/subform you can use a query that gets data from more than one table as a RecordSource, but if you do that, you may only be able to display data, not add or edit it "That is why I have been building backwards" sounds like you just accepted the way the data was structured wherever it came from -- this is usually a mistake Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: "strive4peace" wrote: Hi F (what is your name?) Sorry I forgot this question--- Fred (yes it really is) and I just found out where to assign the control source to the form. Hidden in the top left corner just as you described it. But... my form uses data from multiple tables as sources to coordinate the address, combobox, dropdown lists, and another cascading combobox requirements that I need for my new database records. can there be more than control source and/or I also need the table to which this info will be outputted.ie: my input table of addresses is larger than I need for my own table, but it is continually being updated by an external group. The table I am trying to create or "fill" is more of a timebased snapshot of info regarding some of these locations. As owners change for example the imported data will reflect that and my table will have to note the change from then on but not change the historic record from the previous owners name. So in short, I need mutliple records of the same address while the date, ownership and other info regardig the address changes. That is why I have been building backwards, I started with an externally updated database table in which I can make no changes and need to create another for internal use with the info gleaned from the first plus any information we require to track as well. "simply shows an empty box" you must assign the form RecordSource first ... then you will see the fields in the Recordsource when you drop the combobox for ControlSource smile ~~~ Trim will work -- but any valid equation must start with = if you use an equation, you cannot change the information, it will be for display only Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * FBrnstrmr wrote: You are of course absolutrly correct, but I did so because the down arrow to which you refer simply shows an empty box and so there is nothing from which to choose. (I am reading the form and report design right now, interestings tips there, but the TRIM (command?) didn't work. I am trying to show a concatenated field of 2 numbers but there is always a space, even after I left justified the right hand (or second) number. I am very grateful for all your help, please don't give up on me. Thanks very much. -F |
#17
|
|||
|
|||
Data entry into table field.
On Mon, 12 Jan 2009 19:15:00 -0800, FBrnstrmr
wrote: rowsource, A Query from which a Combo Box or Listbox gets its data from. controlsource The field into which any bound control stores its data. and recordsource. A Query which provides the data for a Form. -- John W. Vinson [MVP] |
#18
|
|||
|
|||
Data entry into table field.
Hi John
"Query" ... or Table smile I like to use tables for RecordSource if the data is stored in Access and it is not necessary to filter the records or calculate anything Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * John W. Vinson wrote: On Mon, 12 Jan 2009 19:15:00 -0800, FBrnstrmr wrote: rowsource, A Query from which a Combo Box or Listbox gets its data from. controlsource The field into which any bound control stores its data. and recordsource. A Query which provides the data for a Form. |
#19
|
|||
|
|||
Data entry into table field.
On Tue, 13 Jan 2009 00:12:55 -0500, strive4peace
wrote: Hi John "Query" ... or Table smile I like to use tables for RecordSource if the data is stored in Access and it is not necessary to filter the records or calculate anything True. Although Access will often create a hidden query in the background (i.e. if you put a Filter or OrderBy on a form) there's actually a query underneath it. -- John W. Vinson [MVP] |
#20
|
|||
|
|||
Data entry into table field.
Hi John,
one reason I tell others to use tables is to keep them from creating a recordset that cannot be updated btw, I hope I get a chance for one of your back-jobs at the Summit .... missed out last year Warm Regards, Crystal remote programming and training Access Basics 8-part free tutorial that covers essentials in Access http://www.AccessMVP.com/strive4peace * (: have an awesome day * John W. Vinson wrote: On Tue, 13 Jan 2009 00:12:55 -0500, strive4peace wrote: Hi John "Query" ... or Table smile I like to use tables for RecordSource if the data is stored in Access and it is not necessary to filter the records or calculate anything True. Although Access will often create a hidden query in the background (i.e. if you put a Filter or OrderBy on a form) there's actually a query underneath it. |
Thread Tools | |
Display Modes | |
|
|