Don,
Is the case of the word "KEY" the same in the URL as it is in the macro?
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Friday, June 06, 2008 9:45 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Net.data querying
Greetings,
I have a very simple macro which asks for a keyword to be entered, and then a SQL search of a 512 byte 'reason' field is done, and only the records which match are returned.
This works fine which launched normally via the INPUT section. Now, I have a requirement to have a program build a url which will be inside an email transmitted to a user. When the user clicks on the url, the same macro is launched, and only those records which contain the keyword at the end of the url should appear. However, all the records in the file are being displayed when the macro is launched by this email method.
I'm not sure if I will need to create a copy of the macro and make some slight changes? Below is the constructed url, and the GHW775 should be the search key.
http://............./NCMAM.HTM/REPORT?KEY=GHW775
Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"It's amazing what you can accomplish if you don't care who gets the credit." Harry S. Truman
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.