G
Guest
Hi all,
Alright, I have the dumbest question. I want to do something, but I don't
know what it's called. So I can't look up an example. This is such a moron
thing to do, but I'm hoping someone can help me out.
I created a user defined variable, and what I want to add is a function for
the type that I can use to determine if all the sub variables are empty.
Here's what I mean:
Public Type newData
firstName as String
lastName as String
orderNum as String
End Type
Then, in my Access 97 code, I just want to write:
If newData.isEmpty() Then
msgbox "No data entered."
End If
Which would return true if all the string are zero length ("").
I can't remember what this is called. I think it's a struct in C++, but I'm
not even 100% sure. Does VB have an equivalent? I'm having a complete
brainfart here. =)
Thanks for any help.
Jay
Alright, I have the dumbest question. I want to do something, but I don't
know what it's called. So I can't look up an example. This is such a moron
thing to do, but I'm hoping someone can help me out.
I created a user defined variable, and what I want to add is a function for
the type that I can use to determine if all the sub variables are empty.
Here's what I mean:
Public Type newData
firstName as String
lastName as String
orderNum as String
End Type
Then, in my Access 97 code, I just want to write:
If newData.isEmpty() Then
msgbox "No data entered."
End If
Which would return true if all the string are zero length ("").
I can't remember what this is called. I think it's a struct in C++, but I'm
not even 100% sure. Does VB have an equivalent? I'm having a complete
brainfart here. =)
Thanks for any help.
Jay