Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Storing a TempVar in a table

$
0
0
Good Evening

I have a login Screen on launch of the database which records the tempvar of the user

TempVars.Add "user", Me.username.Column(1)

I have a form "Incrptfrm" which has it control source to a table Incrpttbl

One of the feilds within the table and form is "Attended By" which is to be set to the Tempvar.

The tempvar displays in an unbound text box with =[tempvars]![user] in the control source but this is not applicable as I need the information to be stored in the table not just displayed on the form.

I have tired setting the default value in the properties sheet for "Attended By" to [tempvars]![user] which was demostrated on utube but this does not work.

Any Suggestions would be helpful

Thank you

Viewing all articles
Browse latest Browse all 13329

Trending Articles