Ask a Question related to Microsoft Access, Design and Development.
-
Andrew H #1
Datasheet Fields Blank
Hi ,
When using a datasheet view on Subform. Everytime I move
to the next record, my fields on the previous record which
have the Requery Function Linkes to them, go blank.
Is there a command I can input in to the VB code instead
of or aswell as .Requery?
i.e, show data in fields when not active record - type
command??
Would appreciate any suggestions on this.
Thanks
Andrew H Guest
-
Help with Access fields when they are to remain blank
I have some sections of my database that will be left empty. I am trying to update my database via my web admin pages without any success. What... -
Blank fields in database
Hi, I have a blank field in the database for Address. How do I refer to that? For ex: Set hrRS = Server.CreateObject("ADODB.Recordset") ... -
Rejecting blank fields in forms
Hi All, I hope that someone maybe able to help me with this question. At the moment I have the following line of code that checks if a field is... -
ASP & Mysql - Problem with blank text fields
I hadn't realized I had invalid information in my mail client, I have updated it and have re-posted to provide accurate information. "Test"... -
Blank form fields passed to SQL
In your sql statement, check if the value is empty. I don't know what scripting language you are using so I will give an example using coldfusion ... -
Allen Browne #2
Re: Datasheet Fields Blank
Andrew, this happens if you use:
- using combo boxes that have the bound column zero width, and
- the RowSource dependent on a value in the current row, and
- it's a continuous form or datasheet.
In this case, the combo's RowSource does not contain the display value for
the other rows, and since the bound column is not being displayed, you have
given Access nothing to display.
The workaround is not to hide the bound column, or not to limit the
RowSource. There are other fudges that involve including the table of the
combo's RowSource in the RecordSource of the form, so you can place a text
box on top of the combo to show the value. Messy.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
Reply to the newsgroup. (Email address has spurious "_SpamTrap")
"Andrew H" <nospam@work> wrote in message
news:0a0901c3420d$1f2ff2f0$a101280a@phx.gbl...> Hi ,
>
> When using a datasheet view on Subform. Everytime I move
> to the next record, my fields on the previous record which
> have the Requery Function Linkes to them, go blank.
>
> Is there a command I can input in to the VB code instead
> of or aswell as .Requery?
>
> i.e, show data in fields when not active record - type
> command??
>
> Would appreciate any suggestions on this.
>
> Thanks
Allen Browne Guest
-
Andrew H #3
Re: Datasheet Fields Blank
Hi,
Thanks for your reply. How do you mean not hide the bound
column? The bound column is set to 1. Is this correct.
Thanks
width, and>-----Original Message-----
>Andrew, this happens if you use:
>- using combo boxes that have the bound column zeroand>- the RowSource dependent on a value in the current row,display value for>- it's a continuous form or datasheet.
>
>In this case, the combo's RowSource does not contain thedisplayed, you have>the other rows, and since the bound column is not beinglimit the>given Access nothing to display.
>
>The workaround is not to hide the bound column, or not tothe table of the>RowSource. There are other fudges that involve includingcan place a text>combo's RowSource in the RecordSource of the form, so youspurious "_SpamTrap")>box on top of the combo to show the value. Messy.
>
>--
>Allen Browne - Microsoft MVP. Perth, Western Australia.
>Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
>Reply to the newsgroup. (Email address hasmove>
>"Andrew H" <nospam@work> wrote in message
>news:0a0901c3420d$1f2ff2f0$a101280a@phx.gbl...>> Hi ,
>>
>> When using a datasheet view on Subform. Everytime Iwhich>> to the next record, my fields on the previous record>>> have the Requery Function Linkes to them, go blank.
>>
>> Is there a command I can input in to the VB code instead
>> of or aswell as .Requery?
>>
>> i.e, show data in fields when not active record - type
>> command??
>>
>> Would appreciate any suggestions on this.
>>
>> Thanks
>
>.
>Andrew H Guest
-
Andrew H #4
Re: Datasheet Fields Blank
Hi Allen,
Thanks, I have made the change and yes it does display all
subform record's data, but now only shows the record id
rather than the data i want to see, have tried swapping
this over and it appears I am only going to see the record
number!
I guess this is what you meant?
Is there no way I can get it to show what I want! This is
a real nightmare. I appreciate your help!!
the Column Width>-----Original Message-----
>I'm guess that the column have more than one column, andspurious "_SpamTrap")>property contains zero for the bound column, e.g.:
> 0";1"
>
>--
>Allen Browne - Microsoft MVP. Perth, Western Australia.
>Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
>Reply to the newsgroup. (Email address hasbound>
>"Andrew H" <nospam@work> wrote in message
>news:082a01c34216$c1fd1bd0$a501280a@phx.gbl...>> Hi,
>>
>> Thanks for your reply. How do you mean not hide therow,>> column? The bound column is set to 1. Is this correct.
>>
>> Thanks
>>>> width, and>> >-----Original Message-----
>> >Andrew, this happens if you use:
>> >- using combo boxes that have the bound column zero>> >- the RowSource dependent on a value in the currentthe>> and>> >- it's a continuous form or datasheet.
>> >
>> >In this case, the combo's RowSource does not containto>> display value for>> displayed, you have>> >the other rows, and since the bound column is not being>> >given Access nothing to display.
>> >
>> >The workaround is not to hide the bound column, or notincluding>> limit the>> >RowSource. There are other fudges that involveyou>> the table of the>> >combo's RowSource in the RecordSource of the form, soAustralia.>> can place a text>> >box on top of the combo to show the value. Messy.
>> >
>> >--
>> >Allen Browne - Microsoft MVP. Perth, Western[url]http://allenbrowne.com/tips.html[/url]>> >Tips for Access users -instead>> spurious "_SpamTrap")>> >Reply to the newsgroup. (Email address has>> move>> >
>> >"Andrew H" <nospam@work> wrote in message
>> >news:0a0901c3420d$1f2ff2f0$a101280a@phx.gbl...
>> >> Hi ,
>> >>
>> >> When using a datasheet view on Subform. Everytime I>> which>> >> to the next record, my fields on the previous record>> >> have the Requery Function Linkes to them, go blank.
>> >>
>> >> Is there a command I can input in to the VB codetype>> >> of or aswell as .Requery?
>> >>
>> >> i.e, show data in fields when not active record ->>> >> command??
>> >>
>> >> Would appreciate any suggestions on this.
>> >>
>> >> Thanks
>
>.
>Andrew H Guest
-
Allen Browne #5
Re: Datasheet Fields Blank
The other alternative is to use a query as the source for your form.
Include the lookup table.
Double-click the line joining the 2 tables in query design, and choose the
appropriate outer join (option 2 or 3).
That way you can include the text from the lookup table in the form's
recordsource, so you can display it in a (read-only) text box alongside your
combo.
If you don't want to do that, you're going to have to leave all the records
in the combo, or show the combo's bound column.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
Reply to the newsgroup. (Email address has spurious "_SpamTrap")
"Andrew H" <nospam@work> wrote in message
news:0af101c34228$e089acf0$a301280a@phx.gbl...> Hi Allen,
>
> Thanks, I have made the change and yes it does display all
> subform record's data, but now only shows the record id
> rather than the data i want to see, have tried swapping
> this over and it appears I am only going to see the record
> number!
>
> I guess this is what you meant?
>
> Is there no way I can get it to show what I want! This is
> a real nightmare. I appreciate your help!!
>
>> the Column Width> >-----Original Message-----
> >I'm guess that the column have more than one column, and> spurious "_SpamTrap")> >property contains zero for the bound column, e.g.:
> > 0";1"
> >
> >--
> >Allen Browne - Microsoft MVP. Perth, Western Australia.
> >Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
> >Reply to the newsgroup. (Email address has> bound> >
> >"Andrew H" <nospam@work> wrote in message
> >news:082a01c34216$c1fd1bd0$a501280a@phx.gbl...> >> Hi,
> >>
> >> Thanks for your reply. How do you mean not hide the> row,> >> column? The bound column is set to 1. Is this correct.
> >>
> >> Thanks
> >>
> >> >-----Original Message-----
> >> >Andrew, this happens if you use:
> >> >- using combo boxes that have the bound column zero
> >> width, and
> >> >- the RowSource dependent on a value in the current> the> >> and
> >> >- it's a continuous form or datasheet.
> >> >
> >> >In this case, the combo's RowSource does not contain> to> >> display value for
> >> >the other rows, and since the bound column is not being
> >> displayed, you have
> >> >given Access nothing to display.
> >> >
> >> >The workaround is not to hide the bound column, or not> including> >> limit the
> >> >RowSource. There are other fudges that involve> you> >> the table of the
> >> >combo's RowSource in the RecordSource of the form, so> Australia.> >> can place a text
> >> >box on top of the combo to show the value. Messy.
> >> >
> >> >--
> >> >Allen Browne - Microsoft MVP. Perth, Western> [url]http://allenbrowne.com/tips.html[/url]> >> >Tips for Access users -> instead> >> >Reply to the newsgroup. (Email address has
> >> spurious "_SpamTrap")
> >> >
> >> >"Andrew H" <nospam@work> wrote in message
> >> >news:0a0901c3420d$1f2ff2f0$a101280a@phx.gbl...
> >> >> Hi ,
> >> >>
> >> >> When using a datasheet view on Subform. Everytime I
> >> move
> >> >> to the next record, my fields on the previous record
> >> which
> >> >> have the Requery Function Linkes to them, go blank.
> >> >>
> >> >> Is there a command I can input in to the VB code> type> >> >> of or aswell as .Requery?
> >> >>
> >> >> i.e, show data in fields when not active record -> >> >> >> command??
> >> >>
> >> >> Would appreciate any suggestions on this.
> >> >>
> >> >> Thanks
> >
> >.
> >
Allen Browne Guest



Reply With Quote

