ms access - copy value entered in unbound textbox to label after pressing button -


i have unbound text box on form admin can enter date of when records last updated. want date copied label after pushing button holds date instead of disappear after closing form.

does know if possible , how possible?

for creating variable can used after form closed:

  1. create new module (in code window, click 'insert | module'
  2. insert variable name(s) , types want available everywhere. i.e.

    global dtlastupdated date

    global strsavesomename string

  3. save module mdl_globals

  4. add code wherever needed set variable, can reference anywhere.

if use during form, use following: 'lblforunbound' label field , 'txtunbound' unbound text box

me.lblforunbound.caption = me.txtunbound.text 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -