Make that an "and" statement in the "if statement" so that both the
latitude and the longitude must have values in order for the site to
be included in the .xml file.


On Aug 28, 1:48 pm, Widgets <[EMAIL PROTECTED]> wrote:
> I revised how my .xml file is written. It was written from a database
> query if a unitname is found in the specific row I had the "if
> statement" looking at. I changed the if statement to look at that
> latitude row, so if there is no latitude entered that entry will be
> skipped when the .xml file is created. I think I may toss an "or"
> statement in the "if statement" for the longitude in case someone
> decides to insert a latitude with no longitude.
>
> Thanks again,
> Chris
>
> On Aug 28, 11:43 am, Rossko <[EMAIL PROTECTED]> wrote:
>
> > > AH, Thank you Larry. I thought I got rid of all the Null valued Lat/
> > > Longs.
>
> > What you should do is revise your script so that it picks up rubbish
> > data and handles them sensibly - ignoring that entry, or alerting the
> > error, or whatever.   Else it WILL come back and bite you again.
>
> > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to