Jump to content

Archived

This topic is now archived and is closed to further replies.

  • 0
NarayanJr

Web Api Autonumber Return

Question

I am using PHP to add a value to a table.  This table has a Client Name, ClientID, and Display field.

The Client Name is just a string entered by the user, and the Client ID is an auto number.  The display field is "Client Name - ClientID".  Is there anyway to do this in one call?  Right now the only way I can think of doing this is to

 

1. InsertData to add the client

2. SelectData to get the Client ID

3. UpdateData to add the Display field.

 

 

 

Is there anyway to do this in less calls?  Can the Autonumber field be used like how it is used in the forms, with [@InsertRecordClientID] being parsed to the number on insert?

 

Thank You,

Adam

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet


×
×
  • Create New...