>>I'm looking for a way to connect to a SQL server via JavaScript so I can load values based on a lookup code without doing a submit to the server. For example, the user enters a zip code and my JavaScript queries our ZipCity file, gets the City, State and County and fills in the textboxes.
>>
>>Any suggestions? Thanks,
>
>
>Check Remote Data Services:
>
https://www.microsoft.com/data/ado/rds/Guy, thanks for the suggestion.
Since I can't know what will be available on the user's computer I've decided that handling the query on the client isn't the right way to get the data. I'm trying a server-side program that will generate JavaScript on the fly containing the data requested by the client. When the Browser runs the returned JavaScript, the data will be loaded into variables.
Thanks again,
David.