Hi All,
This used to work. I compiled under PR32 today and it does not.
3 Tables
Orders
Customers
CustomerContacts
Orders has a filed for the ID for the Customer table and the Contact Table.
The unique key, auton umber, in the customer table is also the customer number. Over 700 customers in the table. Clarion 6 apps work fine.
The customer is obtained using a select table. The customer number is placed in a session var
When the contact Table is called, the session var, placed in a local variable is used to filter so only the contacts for the selected customer are visibile to be select.
So, the user selects a customer, then selects a contact from 2 different forms.
Worked great
Now
The slections of the customer is returning a zero instead of the proper customer number from the ufield whic is also part of the unique key for the table. I can display any other field from the customer table on the server, be they long, or string.
Funny thing is the customer number does return from the select lookup and is placed in the field on the orders record as well as showing the customer name in the comments field... I just can no longer access it like before and save it for use in another lookup.