Help needed Blank Title 104750

I wouldn't use a key* field in a UD table for anything you are going to change. The BO's are very fussy about that. I would put the last sequence number assigned into a Number field (or ShortChar if Alphanumeric).

We had similar needs, and used UDCodes (child) and UDCodeType (parent) for this purpose. The Parent record UDCodeType.CodeTypeID is "Counters", and we have children in UDCodes.CodeID for the various sequences we need, like last customerID, last UPC code, etc.

Christopher Heins
Sr. Progress Programmer/Analyst
[cid:image001.png@01CC8CAF.4B380630]
Desk# 973-560-5370
Cell# 908-256-3662
Skype: cheins.nj
cheins@...<mailto:cheins@...>


________________________________
NOT INTENDED AS A SUBSTITUTE FOR A WRITING
NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL LAW OF SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL MESSAGE, ITS CONTENTS AND ATTACHMENTS ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO A CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER.

This e-mail message from PNY Technologies, Inc. is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


[Non-text portions of this message have been removed]
I am trying to do the following:



Use UD17 as an UltraCombo box on the Revisions Form on the Part Entry
for validation of existing drawing numbers for parts.

I am using key1 on the UD18 table as the sequence number for the
autopopulation of the key1 field on the UD17 table

I want to add a button next to the drawnum field(UltraCombo box) to fire
off the autogeneration of the autosequence number to populate key1 on
UD17 to then select tot populate the partrev.drawnum field



I need some assistance on the coding for this, anyone have similar code
already written?



Christopher W. Marsch

IT/Database Administrator

Mechanical Dynamics & Analysis, Ltd.

19E British American Blvd.

Latham, NY 12110

(518) 399-3616 x272

Cell: (518) 795-0200





[Non-text portions of this message have been removed]