Now, normally when you think of a VBA function, you think of it returning one value.
You pass something in, it does a little bit of work and it gives one thing back.
The user picks a customer and we want to retrieve that customer's address, city, state, and zip code.
Sure, we could write four separate DLOOKUP expressions, right? One for address, one for city, one for state, one for zip.
In fact, if you're just using it here, you could load those short text values directly into the customer's combo box, right? That's what I teach in some of my classes.
You put address, city, state, and zip as hidden columns in the combo box and you drop them right into the order.
You can't do that for long text, but for short text, sure, why not? But if you need the same customer lookup information on multiple forms or from different buttons, or you got lots of long text fields, copying all these D lookups all over the place gets messy really fast.
Now, normally when you think of a VBA function, you think of it returning one value.
You pass something in, it does a little bit of work and it gives one thing back.
The user picks a customer and we want to retrieve that customer's address, city, state, and zip code.
Sure, we could write four separate DLOOKUP expressions, right? One for address, one for city, one for state, one for zip.
In fact, if you're just using it here, you could load those short text values directly into the customer's combo box, right? That's what I teach in some of my classes.
You put address, city, state, and zip as hidden columns in the combo box and you drop them right into the order.
You can't do that for long text, but for short text, sure, why not? But if you need the same customer lookup information on multiple forms or from different buttons, or you got lots of long text fields, copying all these D lookups all over the place gets messy really fast.
The rest of this transcript — segmented and speaker-labeled, so you land on the exact moment something was said
Search every transcript — by keyword, by phrase, or by meaning, across every show Radar indexes
Trends — what is surging across podcasts, measured against its own baseline
Alerts — when a name you follow appears in a newly indexed episode
No account is needed to search Radar.