« 6TH POPE Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next

Re: Access Question for Zimbler

By: Zimbler0 in 6TH POPE | Recommend this post (0)
Mon, 23 May 22 3:31 AM | 17 view(s)
Boardmark this board | 6th Edition Pope Board
Msg. 32181 of 60008
(This msg. is a reply to 32180 by Decomposed)

Jump:
Jump to board:
Jump to msg. #

Decomposed > [frmMedia].[Title]

Am I right in thinking that that is a table and field?
Are you sure you shouldn't be using something like ' form2.TextBox1.Text=form1.TextBox1.Text '
to get the data out of the field of your data input form?

http://stackoverflow.com/questions/13578670/how-to-pass-value-of-a-textbox-from-one-form-to-another-form


I'm thinking I may have created a 'hidden text field' on a form, and tucked a string into it. Then VBA was able to access the hidden field (Or was it my query was able to access the hidden field?)

Right, the hidden fields I used were for storing a date selected with a calendar form. And I needed to get the date out of the calendar (on the form) and put it somewhere where my query could read it and give me the appropriate date related data.

I have a memory of wanting to query the shop log, and I wanted to insert three text strings to search the data base for. One to limit the equipment I was searching for, one for the problem field, and one for the solution field.

So I had three fields on the form to input the search criteria. And VBA would take the three variables and search the database for anything that matched all three strings.

Good times.

Zim.




Avatar

Mad Poet Strikes Again.


- - - - -
View Replies (1) »



» You can also:
- - - - -
The above is a reply to the following message:
Re: Access Question for Zimbler
By: Decomposed
in 6TH POPE
Mon, 23 May 22 3:03 AM
Msg. 32180 of 60008

Zimbler0:

Re: “ Should I see if I can set up a machine that can open and peruse my old databases?”
No, not yet. I'm going to dig through the sites you provided. I already checked one of them without success.

The problem is that [frmMedia].[Title] isn't recognized when my procedure executes. If I replace it in the VBA with something hard coded, the title "Prelude to Foundation" for instance, the procedure works.

There's nothing strange in what I'm attempting. I just want to know if I've populated a field with a value that's been entered before. I bet it's an extremely common thing, in principle, for novice developers to want to do.






« 6TH POPE Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next