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
|
|||
|
|||
SetOption in Access 2007
Hi there,
Does anyone know if there's a possibility to set the "Check for truncated number fields" option in Access 2007 programmatically by VBA? I tried Application.SetOption "Check for truncated number fields", 0 without success (error message: 2091 Invalid name). Are there any ideas about this? Is the spelling/wording wrong, or is this simply not possible? Thanks, Paul |
#2
|
|||
|
|||
SetOption in Access 2007
I got this to work:
Sub sSetCheckTrun() Application.SetOption "CheckTruncatedNumFields", 0 End Sub I found it in Help by searching Set Options from Visual Basic then going down to the Current Database tab. -- Jerry Whittle, Microsoft Access MVP Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder. "PaulB" wrote: Hi there, Does anyone know if there's a possibility to set the "Check for truncated number fields" option in Access 2007 programmatically by VBA? I tried Application.SetOption "Check for truncated number fields", 0 without success (error message: 2091 Invalid name). Are there any ideas about this? Is the spelling/wording wrong, or is this simply not possible? Thanks, Paul |
#3
|
|||
|
|||
SetOption in Access 2007
Op 09-09-09 20:55, Jerry Whittle schreef:
I got this to work: Sub sSetCheckTrun() Application.SetOption "CheckTruncatedNumFields", 0 End Sub I found it in Help by searching Set Options from Visual Basic then going down to the Current Database tab. Hi Jerry, Thank you for your answer. My problem is solved! Paul |
#4
|
|||
|
|||
SetOption in Access 2007
Op 09-09-09 20:55, Jerry Whittle schreef:
I got this to work: Sub sSetCheckTrun() Application.SetOption "CheckTruncatedNumFields", 0 End Sub I found it in Help by searching Set Options from Visual Basic then going down to the Current Database tab. Hi Jerry, Thank you for your answer. My problem is solved! Paul |
Thread Tools | |
Display Modes | |
|
|