Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...just the few hours I've spent on this site I have learned a lot. I can now implement features that will be very useful to my company, and some of those I never knew existed..."

Geography

Where in the world do Tek-Tips members come from?

Search Edit - Setting a "WHERE" clause based on value on the form

tdk88 (Programmer)
22 May 12 11:11
I'm currently working on a custom search on OE0101 (Enter Orders) that pulls a contact's first and last names (cicntp.cnt_f_name, cicntp.cnt_l_name), but want to limit it to only contacts for the selected customer. I have cicmpy included in the search, and my two tables are linked together by the cnt_id field.

In the "Where" box, I currently have "WHERE cicntp.cnt_f_name IS NOT NULL AND cicmpy.debcode = ?". I would like the cicmpy.debcode to be equal to the Customer.text value on the Macola ES form. Any ideas on how to set this?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close