EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-24-2007, 07:19 PM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Question Testing for no value

Okay, I'm trying to test for the lack of a last name and I have no idea how to test for nothing. Any help would be appreciated.

Thanks
Reply With Quote
  #2  
Unread 11-24-2007, 08:06 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

The DynamicData can be tricky since you don't always know what information is there. Have you tried the Visible flag for LastNameText?
__________________

Visit Othesus World!
Reply With Quote
  #3  
Unread 11-24-2007, 08:30 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Quote:
Originally Posted by RickF7666 View Post
Okay, I'm trying to test for the lack of a last name and I have no idea how to test for nothing. Any help would be appreciated.

Thanks

The way I would do it is

OnEvent="DoWhatEver=(eX_Text ? True : False) ex_Test=Lastname.LocalText==''"

Just make sure Text and LocalText for the Lasname object is empty.

The True and False can be what ever, I just add them so you knew where true and false is.
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 11-24-2007 at 08:32 PM.
Reply With Quote
  #4  
Unread 11-25-2007, 12:50 AM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Default

Thanks for the suggestion but I tried that one and it didn't work. I think the problem might be that we don't know what the dynamic data LastName is set to if you don't have a last name. Is it that there isn't any data in LastName or is it something that we just can't see.

I've tried to set a DynamicDataFilter so that it just came back with a boolean value of the state of the last name. But I don't think I know how to do that properly or even if you can do that. All the examples for DynamicDataFilter use four characters but the field actually has eight characters.

It always seems that when I try to do something new with the interface it's way more complicated then it looked initially.

Any more ideas?
Reply With Quote
  #5  
Unread 11-25-2007, 01:01 AM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Default

Quote:
Just make sure Text and LocalText for the Lasname object is empty.
Okay, I guess it might help if I read your entire post and not just most of it. Once I deleted Text and LocalText it worked.

Thanks for everything.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:32 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI