I need a sql statement that doesn't select any record that has already been selected with the same data in a field.
In other words, if I had these 3 records in the form of NAME, ID, and PHONE
MATT, 333, 000-000-0000
MATT, 333, 000-000-0000
STEVE, 555, 000-000-0000
RICK, 444, 000-000-0000
I want to eliminate selecting MATT more than once. So the total record count would be 3 and there...
User Profile
Collapse
-
How to eliminate selecting repeats in a statement
-
I was looking to be able to grasp a map on the mobile itself. It doesn't have to be dynamic, necessarily. I could settle for the map being a downloaded jpg or something to that effect. -
Determining a user's (general) location?
I'm trying to determine the best way to figure out a user's location without asking them. It doesn't have to be wildly specific, and I'm sure it couldn't be anyways. But I have seen some kinds of "locative" functions on other websites from time to time (i.e. they know I'm getting on from wherever, Louisana and throw up an ad saying "vote for this mayor", or "Meet Singles in New Orleans", etc.)
What's... -
best mobile maps for winmobile 6 SDK?
I'm doing some geolocative work and do not, as of yet, have a map that I'm using in winmobile 6 SDK. I'd like to sync a map with some points up in the winmobile app. I'm wondering who knows where I should start, what map SDK to use, and if there's any particular pitfalls to avoid, points to consider, etc.
Thanks a lot! -
If anybody has any ideas, I would still appreciate it. I'm sadly still kind of stuck on this problem.Leave a comment:
-
This is what I started, but I couldn't seem to get anything to happen...
EDIT: Bear in mind I've completely winged this. Truthfully I just don't have a clue and this was more of a guess/codejacking. My plan, Mark, actually was to send a byte array to a php script that acted as a web service. Unfortunately, I've never dealt with file transfers and as such, I don't even know how to do that! lol I'm at ground zero.
...Leave a comment:
-
Upload picture from winmobile (C#) using php
I know this is a commonly asked question, so sorry in advance, but even though it seems to be asked fairly frequently, I can't seem to find good code on it.
Essentially, I just want to upload a file to my website (on site-side using PHP & post) in windows mobile. Can anyone help me out? Sorry for the brevity, if you want details just let me know. -
Thanks for the reply!
Unfortunately, I wouldn't know the first thing about converting or anything near it! Is there any code you could recommend to me?Leave a comment:
-
Reliable function for getting a date 30 days away from the current date
I can't seem to get a reliable function that grabs the actual date 30 days in the future. Adding +30 to the date() function doesn't seem to compensate for if the next month has less than the +30 calculated number of days and other little quirks like that that can generate a date that doesn't actually exist. Is there a more thorough method for getting a real date 30 days from today?
Thanks a lot, everyone! -
Just to be clear, so I SHOULD definitely be able to grab GPS info from my phone.
Currently, I set the GPS program port to COM0, hardware port to COM6, the Baud rate to the highest available: 115200, Manage GPS automatically is enabled.
I'll play around with the rates & ports, see if there's a change, but I simply don't know how to go about trying to debug what's holding it up aside from that...Leave a comment:
-
C# Gps always returning 0 vals for Lat & Lng (Winmobile5, Treo700)
I'm using the Gps wrapper from the Windows Mobile 6 SDK Example. It's straightforward , and technically, all the code seems to work just fine. The problem is that it never picks up any values, satellites, nothing. It always returns 0s.
I tested outside with a Palm Treo 700 when I tested, and have waited for periods of up to 20 minutes, never getting any data returned (I was keeping the Gps alive, for those who know it automatically... -
For future reference or searchers...
In the end, I followed my first inclination and simply wrote a php script and placed it on my remote server that caught POST data and uploaded it to the server. This was actually much faster (not to mention much more secure, since you're not letting just anyone hop on to your server). For the mobile side, I used WebRequests to access the php page remotely, and put the post data in a byte array....Leave a comment:
-
Well I'm wondering two things: first off, I'm really looking for links for walkthroughs / how-to's that give at least SOME in-depth VC examples for winmobile.
Second, is there no native component that can connect to a remote DB? If there is, is there any sort of walkthrough or sample project or how-to that gives a little insight?
Thanks!Leave a comment:
-
Remote DB connecting and simple newb walkthroughs in WinMobile 6 SDK
I realize how I'm going about this is somewhat odd. I have to construct a program for windows mobile that only sends a couple queries to a remote MySQL server and hopefully gets some success/fail returns.
(I've got VS2008 pro and the winmobile SDKs)
The 2 problems I have:
1) I'm very well versed in C++, and I know a little C#. I managed to compile some simple winmobile programs, but I'd be more comfortable grabbing a... -
I need 'order' in a select w/ Union statement
I've got a statement as follows that grabs matching records out two tables:
"SELECT * FROM BKRETAIL WHERE BKRETAIL.MATK=' THISTHE' UNION SELECT * FROM BKMASTER WHERE BKMASTER.MATK=' THISTHE';
My problem is that when I try to place something like "ORDER BY BKRETAIL.MEDSTA ASC" after the statement, it throws an error. I need these ordered in a certain arrangement. To be honest, what I really need is to order... -
both. So I want to see what item numbers are in AUDIT and match them to the master and retail records accordingly.Leave a comment:
No activity results to display
Show More
Leave a comment: