Remind me [set custom date] opens form only on certain date

Remind me [set custom date] opens form only on certain date

DeerSpotter
Collaborator Collaborator
285 Views
1 Reply
Message 1 of 2

Remind me [set custom date] opens form only on certain date

DeerSpotter
Collaborator
Collaborator

I would like to have a trigger that opens up my form (but with some sparkle), how can i write a routine that checks the date that was set (in the future) and only run the rest of the code (continues to do whatever if the date today is the same as written date somewhere in a custom field)

How can i write a form type drop down questionnaire that asks which date to remind me on? 

Any Code Snippets i can use to start working on this project? 
(this goal is to have my trigger only open something up on a later date) 

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
286 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor

Something Like this:

 

 

Public Sub xdate()
' Your set date to be checked after Dim DaSet As Date DaSet = Format("16-feb-19", "dd-mm-yy") MsgBox DaSet
' Your date to be checked with Dim Da As Date
' if you like to check the today date then use
Da = Format("now, "dd-mm-yy")
' otherwise anything like this
'Da = Format("16-feb-19", "dd-mm-yy") If DaSet = Da Then MsgBox DaSet & " = " & Da End If MsgBox Da End Sub

Regards,

Autodesk Software: Inventor Professional 2018 | Vault Professional 2018 | Autocad Mechanical 2018
Programming Skills: Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Dimension Component! | Partlist Export! | Derive I-properties! | Vault Prompts Via API! | Vault Handbook/Manual!
Drawing Toggle Sheets! | Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes