07-23-2024
08:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
07-23-2024
08:22 AM
@harvey_craig2RCUH wrote:Try If Parameter(Connection, "Hex_AFc") MsgBox("this parameter exists") End If Catch MsgBox("this parameter does not exist") End Try
You can make this look a little better by using a single line IF-statement. You don't need an IF...End If-construction when there's not a block of code in/between it. #Just a suggestion.
Personally, I use a dedicated sub procedure similar to @ryan.rittenhouse