[ACCESS]text box value = field value
Sebimy
Posted messages
6
Status
Member
-
sarrachfm -
sarrachfm -
Hello,
I'm looking for a VBA command that can tell me the value of this text box "Zon1" in the form "for1"
and copy it into the field "ch1" of the table "tabl1"
I've been searching for two hours and I can't find anything on this line of code.
Anyway, thank you in advance.
I'm looking for a VBA command that can tell me the value of this text box "Zon1" in the form "for1"
and copy it into the field "ch1" of the table "tabl1"
I've been searching for two hours and I can't find anything on this line of code.
Anyway, thank you in advance.
Configuration: Windows XP Internet Explorer 6.0
7 answers
Is the For1 form based on Table1? If so, it's simple, just say
Me!Champ1.Value = Me!Zon1.Value
Otherwise, it's more complicated, because you also need to tell Access not only in which field but especially in which record this value should be saved. Unless it's about adding a record?
--
Why complicate life by making things simple when it's so easy to make them complicated?
Me!Champ1.Value = Me!Zon1.Value
Otherwise, it's more complicated, because you also need to tell Access not only in which field but especially in which record this value should be saved. Unless it's about adding a record?
--
Why complicate life by making things simple when it's so easy to make them complicated?
From reading your responses in the forum, I see that you are well-versed in Access. I have a small problem with an application I'm starting to set up. I want to track the presence of participants using an options group (Present, Excused, Absent). This works well on a form built for example on table 230809 corresponding to the meeting date, but for subsequent ones, I don't want to recreate the form. Instead, I would like to select from a dropdown list the table corresponding to the meeting date and then enter my attendance on that table using the options group. I'm not sure how to select a table so that the form works on the one chosen. Additionally, I would also like to display the minutes in PDF format based on a selection triggered by a button.
I apologize for imposing like this, but if you could provide me with some solutions, I would be very grateful.
Thank you in advance
Schub