If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Set Global Constant in a Default Value
Hi,
I'm trying to set a Default Value in a Text Field from a Global Constant in my DB. Any Help Thanks. |
#2
|
|||
|
|||
Set Global Constant in a Default Value
Josue,
Assuming your constant is called MyConstant, make a simple function in a general module like: Function Get_MyConstant() Get_MyConstant = MyConstant End Function This function will return the value of MyConstant. Now in your form design, set the Default Value property of the text box (or is it in a table design? same thing...) to: =Get_MyConstant() HTH, Nikos "Josue Terrazas" wrote in message ... Hi, I'm trying to set a Default Value in a Text Field from a Global Constant in my DB. Any Help Thanks. |
Thread Tools | |
Display Modes | |
|
|